13
votes

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?

2

2 Answers

8
votes
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?

6
votes

Use this:

prefs:root=TOUCHID_PASSCODE

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