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?
Asked
Active
Viewed 2.7k times
20
-
1This 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 Answers
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
-
14It looks like this functionality was removed in iOS 5.1, it will only work in 5.0.x – Jon C Mar 16 '12 at 19:33
-
You can do it again starting with iOS 8+, see the answer from @Yatheesha below. – Jon C Aug 13 '15 at 03:11
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