> For the complete documentation index, see [llms.txt](https://philm.gitbook.io/philm-ios-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://philm.gitbook.io/philm-ios-wiki/mei-zhou-yue-du/ios10-tiao-zhuan-xi-tong-dao-she-zhi-ye.md).

# iOS10跳转系统到设置页

1、在 info.plist中添加 Prefs: urlsechem

2、iOS10 苹果将系统的设置页的urlsechem路径改变了

比如需要将就版本的urlschemes中的 prefs: 替换成 APP-Prefs: 例如：10以前的路径prefs:root=LOCATION\_SERVICES 换成10以后的路径就变成了APP-Prefs:root=LOCATION\_SERVICES 参考网址 <http://stackoverflow.com/questions/38064557/the-prefs-url-scheme-not-woring-in-ios-10-beta-1-2>

```
   if (progress >= ws.cropSliderView.cropEndTime || progress >= ws.videoTime)
        {
            [ws.cropView seekToSecond:ws.cropSliderView.cropStartTime
                    completionHandler:^(BOOL finished) {
                        if (finished)
                        {
                            [ws videoPlay];
                        }
                        else
                        {
                             [ws.cropView pause];
                            NSLog(@"seek 到目标时间失败 -- 直接暂停视频");
                        }
                    }];
        }
```

3、收录的可使用的urlschemes

| 跳转       | 写法                                            |
| -------- | --------------------------------------------- |
| 无线局域网    | App-Prefs:root=WIFI                           |
| 蓝牙       | App-Prefs:root=Bluetooth                      |
| 蜂窝移动网络   | App-Prefs:root=MOBILE\_DATA\_SETTINGS\_ID     |
| 个人热点     | App-Prefs:root=INTERNET\_TETHERING            |
| 运营商      | App-Prefs:root=Carrier                        |
| 通知       | App-Prefs:root=NOTIFICATIONS\_ID              |
| 通用       | App-Prefs:root=General                        |
| 通用-关于本机  | App-Prefs:root=General\&path=About            |
| 通用-键盘    | App-Prefs:root=General\&path=Keyboard         |
| 通用-辅助功能  | App-Prefs:root=General\&path=ACCESSIBILITY    |
| 通用-语言与地区 | App-Prefs:root=General\&path=INTERNATIONAL    |
| 通用-还原    | App-Prefs:root=Reset                          |
| 墙纸       | App-Prefs:root=Wallpaper                      |
| Siri     | App-Prefs:root=SIRI                           |
| 隐私       | App-Prefs:root=Privacy                        |
| Safari   | App-Prefs:root=SAFARI                         |
| 音乐       | App-Prefs:root=MUSIC                          |
| 音乐-均衡器   | App-Prefs:root=MUSIC\&path=com.apple.Music:EQ |
| 照片与相机    | App-Prefs:root=Photos                         |
| FaceTime | App-Prefs:root=FACETIME                       |

4、UIApplicationOpenSettingsURLString 通过这个key跳转在10以后只能跳转到本APP的设置页面中了。
