在ios5下面版本号使用下面方法:【ios5.1+之後不能使用此方法。ios8的跳轉方法已找到見下方,ios7的正在摸索,歡迎大家給出觀點意見】
通過url scheme的方式打開内置的settings,代碼例如以下
下面是内置的settings的url scheme:
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
在ios8版本号使用下面方法:
ios7版本号眼下還沒發現解決的方法,歡迎大家多多讨論。。。。。