Senseful
Senseful

Reputation: 91681

Deep link in to iOS Settings' Notifications page?

I know that I can deep link into the Settings page on iOS via UIApplicationOpenSettingsURLString. However, this takes me to a page such as this:

enter image description here

Now if I want the user to enable notifications, they have to find Notifications in the list and then enable it. Is there a way to instead directly link them to the Notifications page? (i.e. Going to the same exact page as though they had tapped notifications in the screenshot above.)

If not, is there a way to take them to the global notifications iOS Settings page? (See screenshot below for an example)

enter image description here

Upvotes: 11

Views: 10131

Answers (2)

RhodanV5500
RhodanV5500

Reputation: 1107

Deep linking into the Push Notification settings of an App is possible starting with iOS 15.4 with UIApplicationOpenNotificationSettingsURLString (deprecated).

It was replaced with UIApplication.openNotificationSettingsURLString in iOS 16.

All versions prior to iOS 15.4 can only deep link into the general settings of the app with UIApplication.openSettingsURLString.

Upvotes: 1

rmaddy
rmaddy

Reputation: 318794

No, there is no way to go to any other page in the Settings app from a third party app. Using UIApplicationOpenSettingsURLString is the only option available.

Upvotes: 15

Related Questions