在iOS应用程序中打开设备设置界面及其中某指定的选项界面
来源:互联网 发布:2014网络流行语口头禅 编辑:程序博客网 时间:2024/06/05 08:35
NSURL *url = [NSURL URLWithString:UIApplicationOpenSettingsURLString]; if ([[UIApplication sharedApplication] canOpenURL:url]) { [[UIApplication sharedApplication] openURL:url]; }
在iOS应用程序中打开设备设置界面及其中某指定的选项界面 [[UIApplicationsharedApplication] openURL:[NSURL URLWithString:@"prefs:root=General"]]; [[UIApplicationsharedApplication] openURL:[NSURL URLWithString:@"prefs:root=General&path=Restrictions"]];一些其他可用的参数: 太懒了,不想翻译,自己看吧,有时间了再处理。List of currently known URLs in the Settings app:prefs:root=General&path=About //关于prefs:root=General&path=ACCESSIBILITY//重力感应 prefs:root=AIRPLANE_MODE//飞行模式prefs:root=General&path=AUTOLOCK//自动锁定prefs:root=General&path=USAGE/CELLULAR_USAGE//用量prefs:root=Brightness//亮度调节prefs:root=General&path=Bluetooth//蓝牙prefs:root=General&path=DATE_AND_TIME//时间和日期prefs:root=FACETIME//prefs:root=General//通用prefs:root=General&path=Keyboard//键盘prefs:root=CASTLE//prefs:root=CASTLE&path=STORAGE_AND_BACKUP//prefs:root=General&path=INTERNATIONAL//prefs:root=LOCATION_SERVICES//prefs:root=ACCOUNT_SETTINGS//prefs:root=MUSIC//prefs:root=MUSIC&path=EQ//prefs:root=MUSIC&path=VolumeLimit//prefs:root=General&path=Network//prefs:root=NIKE_PLUS_IPOD//prefs:root=NOTES//prefs:root=NOTIFICATIONS_ID//prefs:root=Phone//prefs:root=Photos//prefs:root=General&path=ManagedConfigurationList//prefs:root=General&path=Reset//prefs:root=Sounds&path=Ringtone//prefs:root=Safari//prefs:root=General&path=Assistant//prefs:root=Sounds//prefs:root=General&path=SOFTWARE_UPDATE_LINK//prefs:root=STORE//prefs:root=TWITTER//prefs:root=General&path=USAGE//prefs:root=VIDEO//prefs:root=General&path=Network/VPN//prefs:root=Wallpaper//prefs:root=WIFI//prefs:root=INTERNET_TETHERING//
0 0
- 在iOS应用程序中打开设备设置界面及其中某指定的选项界面
- 在iOS应用程序中打开设备设置界面及其中某指定的选项界面
- 在iOS应用程序中打开设备设置界面及其中某指定的选项界面
- 在iOS应用程序中打开设备设置界面及其中某指定的选项界面(ios6以后也有)
- iOS开发之QQ, 在APP中打开指定qq聊天界面的方法
- 如何在android的开发中打开系统设置界面
- 在自己的app中打开应用设置界面
- iOS开发之在客服开发之QQ, 在APP中打开指定qq聊天界面的方法
- iOS 打开指定的QQ聊天界面
- android中在指定的界面中插入引导页
- android中在指定的界面中插入引导页
- 如何在程序中跳转到设置里的打开蓝牙界面
- android代码中打开系统设置界面
- android代码中打开系统设置界面
- Android中打开网络设置界面
- android代码中打开系统设置界面
- android代码中打开系统设置界面
- iOS在应用中跳转到系统设置界面
- Ubuntu安装JDK
- html表单学习笔记
- eclipse反编译查看源码工具安装教程
- 【leetcode】238. Product of Array Except Self
- Java web 定时执行任务
- 在iOS应用程序中打开设备设置界面及其中某指定的选项界面
- 深入掌握include_once与require_once的区别
- 事务与死锁
- 升级mvc版本时后,System.InvalidCastException: [A]System.Web.WebPages.Razor.Configuration.HostSection 无法强制转换
- Supervisor 管理进程,Cloud Insight 监控进程,完美!
- µC/OS-Ⅱ任务切换函数OSCtxSw()原型
- css学习笔记
- Python 面向对象(二)—— 获取对象信息
- Android Studio 运行java程序