I'd like to redirect the user to the general settings page, not the application settings page (with permissions, etc.). Is that possible and if so, how?
Asked
Active
Viewed 3,329 times
2 Answers
0
Try this!!
let url = NSURL(string: UIApplicationOpenSettingsURLString)
if UIApplication.shared.canOpenURL(url as! URL) {
UIApplication.shared.openURL(url as! URL)
}
To navigate to specific page, check this link: How do i open phone settings when a button is clicked ios

KiranMayee Maddi
- 301
- 1
- 12
-
2This doesn't answer the question. I want the general settings page. – Michael Eilers Smith Mar 19 '18 at 14:17
-
Check the link...That might help you to navigate to different pages!! – KiranMayee Maddi Mar 19 '18 at 18:21
0
Try below code
UIApplication.shared.open(URL(string:"App-Prefs:root=General")!, options: [:], completionHandler: nil)

Rocker
- 1,269
- 7
- 15