openNotificationSettingsURLString
The URL string you use to deep link to your app’s notification settings in the Settings app.
Declaration
nonisolated static let openNotificationSettingsURLString: StringDiscussion
Create a URL from this value and pass it to the open(_:options:completionHandler:) method to launch the Settings app and display your app’s notification settings, if it has any.
// Create the URL that deep links to your app's notification settings.
if let url = URL(string: UIApplication.openNotificationSettingsURLString) {
// Ask the system to open that URL.
await UIApplication.shared.open(url)
}