1

I want to open Push Notification Settings from my app. Is it possible in iOS? I know I can open Settings screen only.

Md. Sulayman
  • 781
  • 8
  • 30

4 Answers4

1

Since iOS 15.4 we can deeplink to the notif settings screen directly: https://developer.apple.com/documentation/uikit/uiapplicationopennotificationsettingsurlstring?language=objc

Simon Reggiani
  • 550
  • 10
  • 18
0

There is no official way to so do. You can navigate directly to the Notification Setting page but doing so can cause your app to be rejected.

https://stackoverflow.com/a/49041704/3867033

congnd
  • 1,168
  • 8
  • 13
0

You can open app setting from your app. Refer this apple doc

https://developer.apple.com/documentation/uikit/uiapplication/1623042-opensettingsurlstring

Ghufran
  • 16
  • 3
0

On iOS 16 you should be able to do this

if let url = URL(string: UIApplication.openNotificationSettingsURLString) {
    // Ask the system to open that URL.
    await UIApplication.shared.open(url)
}

Source: https://developer.apple.com/documentation/uikit/uiapplication/4013180-opennotificationsettingsurlstrin

sergeyski.com
  • 586
  • 6
  • 14