3

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?

Michael Eilers Smith
  • 8,466
  • 20
  • 71
  • 106

2 Answers2

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
0

Try below code

 UIApplication.shared.open(URL(string:"App-Prefs:root=General")!, options: [:], completionHandler: nil)
Rocker
  • 1,269
  • 7
  • 15