最新iOS系统设置和路径对照表
名称 | 路径 |
---|---|
about | App-prefs:General&path=About |
autoLock | App-prefs:General&path=AUTOLOCK |
bluetooth | App-prefs:Bluetooth |
dateTime | App-prefs:General&path=DATE_AND_TIME |
facetime | App-prefs:FACETIME |
general | App-prefs:General |
keyboard | App-prefs:General&path=Keyboard |
iCloud | App-prefs:CASTLE |
iCloudStorageBackup | App-prefs:CASTLE&path=STORAGE_AND_BACKUP |
international | App-prefs:General&path=INTERNATIONAL |
locationServices | App-prefs:Privacy&path=LOCATION |
music | App-prefs:MUSIC |
notes | App-prefs:NOTES |
notifications | App-prefs:NOTIFICATIONS_ID |
phone | App-prefs:Phone |
photos | App-prefs:Photos |
managedConfigurationList | App-prefs:General&path=ManagedConfigurationList |
reset | App-prefs:General&path=Reset |
ringtone | App-prefs:Sounds&path=Ringtone |
sounds | App-prefs:Sounds |
softwareUpdate | App-prefs:General&path=SOFTWARE_UPDATE_LINK |
store | App-prefs:STORE |
tracking | App-prefs:Privacy&path=USER_TRACKING |
Wallpaper | App-prefs:Wallpaper |
wifi | App-prefs:WIFI |
tethering | App-prefs:INTERNET_TETHERING |
doNotDisturb | App-prefs:DO_NOT_DISTURB |
touchIdPasscode | App-prefs:TOUCHID_PASSCODE |
注意:苹果是不允许使用上述这些私有api的!
建议老老实实使用官方推荐的方式:
NSURL *url = [NSURL URLWithString:UIApplicationOpenSettingsURLString];
if ([[UIApplication sharedApplication] canOpenURL:url]) {[[UIApplication sharedApplication] openURL:url];
}