Iphone – is it possible to open Settings App using openURL

iphonesettings

I know an app can launch other apps by using this code: [[UIApplication sharedApplication] openURL:appUrl];. And I know the scheme of URL to open safari and mail, but I did some searches and found nothing about the scheme of settings.app.

Best Solution

You can open settings apps programmatically try this(works only from iOS8 onwards).

If you are using Swift:

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

If you are using Objective-C

   [[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];

For other lower versions(less than iOS8) its not possible to programatically open settings app.