iOS prefs url scheme for touch id & passcode settings

半腔热情 提交于 2019-12-10 02:29:08

问题


there are a lot of lists with prefs urls for the iOS settings app, used to open a specific site in the settings app (e.g. https://stackoverflow.com/a/8246814/4266294). Unfortunately, I cannot find the url in order to open the touch id & passcode settings.

Does anybody know the url scheme for this?


回答1:


if let url = URL(string: "App-Prefs:root=TOUCHID_PASSCODE") {
    UIApplication.shared.openURL(url)
}

this works on IOS 10.2. However I'm not sure if apple rejects this or not. Has anyone had any issues with their submission using this?




回答2:


Use this:

prefs:root=TOUCHID_PASSCODE

Seen at http://www.appps.jp/126333/



来源:https://stackoverflow.com/questions/35410746/ios-prefs-url-scheme-for-touch-id-passcode-settings

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!