Programmatically opening the settings app (iPhone) [duplicate]

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.


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

use:

UIApplication.sharedApplication().openURL(NSURL(string: UIApplicationOpenSettingsURLString)!)           

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.