天天看点

iOS 应用内跳转到系统设置

 在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版本号眼下还没发现解决的方法,欢迎大家多多讨论。。。。。