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.
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.
You can use this in iOS versions 5.0 - 5.0.1. It was then deprecated in iOS 5.1.
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs://"]];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With