Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS prefs url scheme for touch id & passcode settings

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?

like image 712
Fabian Köbel Avatar asked Feb 15 '16 13:02

Fabian Köbel


People also ask

Where is the URL scheme of iOS app?

Finding an App's Main URL Scheme Name First, you have to download the IPA file for the app, which requires macOS and Apple Configurator 2. When you finally find the IPA, you have to turn it into a ZIP file, show the contents of the app package, then hunt for the specific PLIST file that contains the scheme names.


2 Answers

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?

like image 143
mikengyn Avatar answered Sep 19 '22 12:09

mikengyn


Use this:

prefs:root=TOUCHID_PASSCODE

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

like image 34
neuhaus Avatar answered Sep 17 '22 12:09

neuhaus