How to jump to the various setup interfaces in the system setup
Jump to more Settings screen
In addition to jumping to the WiFi settings screen, can you jump to the other settings screen? For example: Location services, FaceTime, music, and so on. Can be, together to see how to achieve!
Location Services
Location services have a lot of apps, if users close the location, then, we can prompt users in the app to open Location services. Click to set interface settings and jump directly to the location Service Settings screen. The code is as follows:
Location Services Setup Interface
Nsurl *url = [Nsurl urlwithstring:@ "prefs:root=location_services"];
if ([[[UIApplication sharedapplication] canopenurl:url]) {[[UIApplication sharedapplication] openurl:url];}
This allows you to jump to the location service interface of the system settings! Let's keep looking at a few columns.
FaceTime
FaceTime Settings interface
Nsurl *url = [Nsurl urlwithstring:@ "Prefs:root=facetime"];
if ([[[UIApplication sharedapplication] canopenurl:url]) {[[UIApplication sharedapplication] openurl:url];}
Music
Music Settings interface
Nsurl *url = [Nsurl urlwithstring:@ "Prefs:root=music"];
if ([[[UIApplication sharedapplication] canopenurl:url]) {[[UIApplication sharedapplication] openurl:url];}
Wallpaper Setup Interface
Wallpaper Setup Interface
Nsurl *url = [Nsurl urlwithstring:@ "Prefs:root=wallpaper"];
if ([[[UIApplication sharedapplication] canopenurl:url]) {[[UIApplication sharedapplication] openurl:url];}
Bluetooth Settings interface
Bluetooth Settings interface
Nsurl *url = [Nsurl urlwithstring:@ "Prefs:root=bluetooth"];
if ([[[UIApplication sharedapplication] canopenurl:url]) {[[UIApplication sharedapplication] openurl:url];}
icloud Setup Interface
icloud Setup Interface
Nsurl *url = [Nsurl urlwithstring:@ "Prefs:root=castle"];
if ([[UIApplication sharedapplication] canopenurl:url] {[[uiapplication sharedapplication] openurl:url];}
Parameter configuration
See these examples, we have found that you want to jump to which setting interface only need to prefs:root= the value behind! Yes, that's it.
I found a list on the internet and can jump to the parameter configuration of these interfaces:
About-prefs:root=general&path=about
Accessibility-prefs:root=general&path=accessibility
Airplane Mode On-prefs:root=airplane_mode
Auto-lock-prefs:root=general&path=autolock
Brightness-prefs:root=brightness
Bluetooth-prefs:root=general&path=bluetooth
Date & Time-prefs:root=general&path=date_and_time
Facetime-prefs:root=facetime
General-prefs:root=general
Keyboard-prefs:root=general&path=keyboard
Icloud-prefs:root=castle
ICloud Storage & Backup-prefs:root=castle&path=storage_and_backup
International-prefs:root=general&path=international
Location Services-prefs:root=location_services
Music-prefs:root=music
Music Equalizer-prefs:root=music&path=eq
Music Volume Limit-prefs:root=music&path=volumelimit
Network-prefs:root=general&path=network
Nike + ipod-prefs:root=nike_plus_ipod
Notes-prefs:root=notes
notification-prefs:root=notifications_id
Phone-prefs:root=phone
Photos-prefs:root=photos
Profile-prefs:root=general&path=managedconfigurationlist
Reset-prefs:root=general&path=reset
Safari-prefs:root=safari
Siri-prefs:root=general&path=assistant
Sounds-prefs:root=sounds Software
Update-prefs:root=general&path=software_update_link
Store-prefs:root=store
Twitter-prefs:root=twitter
Usage-prefs:root=general&path=usage
Vpn-prefs:root=general&path=network/vpn
Wallpaper-prefs:root=wallpaper
Wi-fi-prefs:root=wifi
You can jump to a different setup interface depending on your needs. If you like this article, welcome to share to more friends, can also be collected, in case of a rainy future!
Iosstrongdemo:https://github.com/worldligang/iosstrongdemo
Jump to Settings inside each page iOS8