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+?
I am experiencing the same issue since the first
beta
releases. I've tested a lot of differentschemas
but none of them worked properly. In the first releases openingschemas
would redirect to the home screen but they already fixed that.