Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

URL for Settings>Privacy>Location Services in iOS 11+?

If locationServicesEnabled() == false, I'm prompting the user to enable their Location Services. The following URL works for 10.0+, redirecting the user to the Settings app and directly to the Location Services screen:

URL(string: "App-Prefs:root=Privacy&path=LOCATION")

However this doesn't work in iOS 11. It opens the Settings app, but doesn't drill down to the Location Services. Anyone knows what's the new URL for iOS 11+?

like image 244
Psylocke Avatar asked Sep 04 '17 08:09

Psylocke


People also ask

Where is the Privacy Location Services on iPhone?

You can turn Location Services on or off at Settings > Privacy > Location Services. You can turn Location Services on either during the Setup Assistant process or later through the Location Services setting. You can individually control which apps and system services have access to Location Services data.

Where are location and Privacy settings?

Open your phone's Settings app. Under "Personal," tap Location access. At the top of the screen, turn Access to my location on or off.


1 Answers

I am experiencing the same issue since the first beta releases. I've tested a lot of different schemas but none of them worked properly. In the first releases opening schemas would redirect to the home screen but they already fixed that.

like image 54
rafael Lucena Avatar answered Sep 18 '22 14:09

rafael Lucena