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
  • 相关阅读:
    Ubuntu Dash 添加 Sublime Text 图标
    Ubuntu14.04修改DNS服务
    VNC viewer访问Ubuntu 14.04
    GPT和parted命令详解
    linux 标准IO缓冲机制探究
    浅谈无缓存I/O操作和标准I/O文件操作区别
    jsp利用request获取当前的链接地址
    eclipse jsp formatter
    spring bean
    ubuntu google-chrome-stable
  • 原文地址:https://www.cnblogs.com/tig666666/p/5805864.html
Copyright © 2011-2022 走看看