zoukankan      html  css  js  c++  java
  • 在iOS应用程序中打开设备设置界面及其中某指定的选项界面

     

    摘自:http://stackoverflow.com/questions/8246070/ios-launching-settings-restrictions-url-scheme

    1  [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=General"]];
    2  
    3 
    4 [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=General&path=Restrictions"]];

    一些其他可用的参数:

     

    List of currently known URLs in the Settings app:

    •  1 prefs:root=General&path=About
       2 prefs:root=General&path=ACCESSIBILITY
       3 prefs:root=AIRPLANE_MODE
       4 prefs:root=General&path=AUTOLOCK
       5 prefs:root=General&path=USAGE/CELLULAR_USAGE
       6 prefs:root=Brightness
       7 prefs:root=General&path=Bluetooth
       8 prefs:root=General&path=DATE_AND_TIME
       9 prefs:root=FACETIME
      10 prefs:root=General
      11 prefs:root=General&path=Keyboard
      12 prefs:root=CASTLE
      13 prefs:root=CASTLE&path=STORAGE_AND_BACKUP
      14 prefs:root=General&path=INTERNATIONAL
      15 prefs:root=LOCATION_SERVICES
      16 prefs:root=ACCOUNT_SETTINGS
      17 prefs:root=MUSIC
      18 prefs:root=MUSIC&path=EQ
      19 prefs:root=MUSIC&path=VolumeLimit
      20 prefs:root=General&path=Network
      21 prefs:root=NIKE_PLUS_IPOD
      22 prefs:root=NOTES
      23 prefs:root=NOTIFICATIONS_ID
      24 prefs:root=Phone
      25 prefs:root=Photos
      26 prefs:root=General&path=ManagedConfigurationList
      27 prefs:root=General&path=Reset
      28 prefs:root=Sounds&path=Ringtone
      29 prefs:root=Safari
      30 prefs:root=General&path=Assistant
      31 prefs:root=Sounds
      32 prefs:root=General&path=SOFTWARE_UPDATE_LINK
      33 prefs:root=STORE
      34 prefs:root=TWITTER
      35 prefs:root=General&path=USAGE
      36 prefs:root=VIDEO
      37 prefs:root=General&path=Network/VPN
      38 prefs:root=Wallpaper
      39 prefs:root=WIFI
      40 prefs:root=INTERNET_TETHERING
  • 相关阅读:
    MVC概念性的内容
    类 class
    php获取真实IP地址
    面向对象static静态的属性和方法的调用
    smarty 入门2(个人总结)
    smarty入门
    读取文件内容fopen,fgets,fclose
    mysql常用命令
    mybatis查询的三种方式
    MyBatis 映射文件
  • 原文地址:https://www.cnblogs.com/tig666666/p/5805864.html
Copyright © 2011-2022 走看看