Jump system settings interface, such as prompting users to open the location, Bluetooth or WiFi, to remind users to open the push or location permissions, etc.
After IOS6, the third-party app needs to jump to the system Setup interface and need to add a prefs value to the URL type, such as:
Jump system settings items in the root directory use the following method
1_array = @[2@{@"System Settings":@"prefs:root=internet_tethering"},3@{@"WiFi Settings":@"Prefs:root=wifi"},4@{@"Bluetooth Settings":@"Prefs:root=bluetooth"},5@{@"System Notifications":@"prefs:root=notifications_id"},6@{@"Common Settings":@"prefs:root=general"},7@{@"Display Settings":@"prefs:root=display&brightness"},8@{@"Wallpaper Settings":@"Prefs:root=wallpaper"},9@{@"Sound Settings":@"Prefs:root=sounds"},Ten@{@"Privacy Settings":@"prefs:root=privacy"}, One@{@"APP Store":@"Prefs:root=store"}, A@{@"Notes":@"prefs:root=notes"}, -@{@"Safari":@"Prefs:root=safari"}, -@{@"Music":@"Prefs:root=music"}, the@{@"Photo":@"Prefs:root=photos"} - ]; -Nsurl * url =[Nsurl Urlwithstring:[_array[index] allvalues].firstobject]; -[[UIApplication Sharedapplication]openurl:url];
If you want to jump to a third-party app's settings interface, using Prefs:root=boundleid, Boundleid is a boundleid for third-party apps.
If you need to continue to jump to the inner layer of the project, you can add the path path by adding the following:
1_array = @[2@{@"about this machine":@"Prefs:root=general&path=about"},3@{@"Software upgrades":@"Prefs:root=general&path=software_update_link"},4@{@"Date Time":@"Prefs:root=general&path=date_and_time"},5@{@"Accessibility":@"prefs:root=general&path=accessibility"},6@{@"Keyboard Settings":@"Prefs:root=general&path=keyboard"},7@{@"VPN":@"Prefs:root=general&path=vpn"},8@{@"Wallpaper Settings":@"Prefs:root=wallpaper"},9@{@"Sound Settings":@"Prefs:root=sounds"},Ten@{@"Privacy Settings":@"prefs:root=privacy"}, One@{@"APP Store":@"Prefs:root=store"}, A@{@"Restore Settings":@"Prefs:root=general&path=reset"}, -@{@"App Notifications":@"Boundleid for prefs:root=notifications_id&path= applications"} -];
The method of UI advanced jump system setting related interface