Opening the Settings app programmatically in iOS 8

Guides | Tutorial By 3 years ago

When iOS 7 first launched developers found the hidden URL schemes used by Apple to open the Settings app from another app.

Developers started using this hidden URL in their apps. Apple realized and took away the ability for other apps to do this in a later iOS 7 release.

In iOS 8 Apple has made a public URL scheme so all developers can now do this without risk of using private APIs.

Now, using the UIApplicationOpenSettingsURLString you can get the URL used to open the Settings app.

Because this is iOS 8 only, on iOS 7 or earlier you will need to check this exists before using it (or your app will crash)

if(&UIApplicationOpenSettingsURLString != nil)
	[[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];
  • Bonnke

    Any way to open FB or TW apps , in Settings ? Because only there we can allow access to our app, to use fb/tw. Any idea about ?
    Thanks a lot

  • Điệp Nguyễn

    how i can jump to twitter setting from my app?

  • Unus Yousuf

    can you show how to do it in swift 2?

  • DeveloperIOS

    can we open the wifi settings inside our app, that is I don’t want my application to go in background.any suggestions please.

  • Anupam

    This code is not working in iOS 10