NSURL*url = [NSURL URLWithString:@"prefs:root=LOCATION_SERVICES"];
[[UIApplication sharedApplication] openURL:url];
//iOS>=10.0
[[UIApplication sharedApplication] openURL:url options:@{} completionHandler:^(BOOL success) {
}];
iOS10以下调用系统设置的命令:
关于本机:prefs:root=General&path=About
软件升级:prefs:root=General&path=SOFTWARE_UPDATE_LINK
日期时间:prefs:root=General&path=DATE_AND_TIME
Accessibility:prefs:root=General&path=ACCESSIBILITY
键盘设置:prefs:root=General&path=Keyboard
VPN:prefs:root=General&path=VPN
壁纸设置:@"prefs:root=Wallpaper
声音设置:prefs:root=Sounds
隐私设置:prefs:root=privacy
APP Store:prefs:root=STORE
还原设置:prefs:root=General&path=Reset
应用通知:prefs:root=NOTIFICATIONS_ID&path=应用的boundleId
定位:prefs:root=LOCATION_SERVICES
蜂窝网络:prefs:root=MOBILE_DATA_SETTINGS_ID
VPN:prefs:root=General&path=Network/VPN
Wi-Fi:prefs:root=WIFI
定位服务:prefs:root=LOCATION_SERVICES
个人热点:prefs:root=INTERNET_TETHERING
辅助功能:prefs:root=General&path=ACCESSIBILITY
飞行模式:prefs:root=AIRPLANE_MODE
锁定:prefs:root=General&path=AUTOLOCK
亮度:prefs:root=Brightness
蓝牙:prefs:root=General&path=Bluetooth
时间设置:prefs:root=General&path=DATE_AND_TIME
FaceTime:prefs:root=FACETIME
设置:prefs:root=General
键盘设置:prefs:root=General&path=Keyboard
iCloud:prefs:root=CASTLE
iCloud备份:prefs:root=CASTLE&path=STORAGE_AND_BACKUP
语言:prefs:root=General&path=INTERNATIONAL
音乐: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
Wallpaper:prefs:root=Wallpaper
iOS8之后支持跳转到自己应用设置
NSURL *url = [NSURL URLWithString:UIApplicationOpenSettingsURLString];
prefs:root=某项服务 适用于 小于 iOS10的系统; prefs:root=bundleID 适用于 大于等于iOS8系统,小于iOS10的系统 UIApplicationOpenSettingsURLString 适用于 大于等于iOS8的系统