Many famous and non-famous apps have the ability to jump to the system settings in some way within the app. But iOS5.1 after the normal call, after the die, I summed up the following two ways:
method One:
In fact, a little bit of Baidu you can find the following list.
Notification — prefs:root=NOTIFICATI_IDPhone — prefs:root=PhonePhotos — prefs:root=PhotosProfile — prefs:root=General&path=ManagedConfigurationListReset — prefs:root=General&path=ResetSafari — prefs:root=SafariSiri — prefs:root=General&path=AssistantSounds — prefs:root=SoundsSoftware Update — prefs:root=General&path=SOFTWARE_UPDATE_LINKStore — prefs:root=STORETwitter — prefs:root=TWITTERUsage — prefs:root=General&path=USAGEVPN — prefs:root=General&path=Network/VPNWallpaper — prefs:root=WallpaperWi-Fi — prefs:root=WIFI
Yes, I will refer to this call next:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=WIFI"]];
This can really jump in ios6,7 and 8, just one less step.
1.png
Add a new item in the URL Types . I did not study in depth, only fill in prefs on it.
2.png
This way, the above-mentioned method can be jumped.
Unless it is a last resort, you can use the following call, if you choose: (even if you read the extension)
IOS8 New support:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];
Method Two:
or use [[UIApplication sharedapplication] openurl:[nsurl urlwithstring:@ "Prefs:root=wifi"];
But only available in Alertview.
App jump to System settings