The App jumps to system Settings, and the app jumps to settings.
Many famous and non-famous apps have the function of redirecting to system Settings in the App in some way. However, iOS5.1 cannot be called normally. I have summarized the following two methods after mod-cable:
Method 1:
Actually a littleBaiduYou 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 mention this call later:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=WIFI"]];
This can be redirected in iOS6, 7, and 8, but there is still one step missing.
1. png
InURL TypesAdd a new item. I did not conduct in-depth research, just enterPrefsYou can.
2. png
In this way, you can jump to the method described above.
Unless you have to, you can still use the following calls when you can choose: (even if you want to extend the reading)
New support for iOS8:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];
Method 2:
[[UIApplication sharedApplication] openURL: [NSURL URLWithString: @ "prefs: root = WIFI"];
But it can only be available in alertview.