20

Is it currently possible to go to Apple's Settings application from a third party iPhone application? It's currently possible to open mail, safari, etc. What about Settings?

Casebash
  • 114,675
  • 90
  • 247
  • 350
Coocoo4Cocoa
  • 48,756
  • 50
  • 150
  • 175
  • 1
    This appears to be possible before iOS 5. Twitter's app does this when airplane mode is enabled at the moment you open the app. Does anybody know how this is being accomplished? – TokyoMike Oct 18 '11 at 05:53

4 Answers4

16

As of iOS 5.0 you are able to open the settings app using the "prefs://" URL scheme. You are out of luck on earlier versions.

CopsOnRoad
  • 237,138
  • 77
  • 654
  • 440
Jon C
  • 605
  • 6
  • 14
3

suggestion from Yatheesha is right, but fails under Xcode 7.0/ swift 2.

use:

UIApplication.sharedApplication().openURL(NSURL(string: UIApplicationOpenSettingsURLString)!)           
CopsOnRoad
  • 237,138
  • 77
  • 654
  • 440
ingconti
  • 10,876
  • 3
  • 61
  • 48
1

I don't believe so. It would be a welcomed addition, you should file a request for it. There are url schemes for mail,sms etc, but not for settings.

Jab
  • 13,713
  • 2
  • 42
  • 48
-2

There is no way to do this with the current version of the API sorry.

That said, you can certainly interact with the settings for your particular application. In theory, if you had to, you could re-create the same visual experience of the Settings Application.

ra9r
  • 4,528
  • 4
  • 42
  • 52