13

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?

Community
  • 1
  • 1
Fabian Köbel
  • 457
  • 1
  • 7
  • 21

2 Answers2

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

mikengyn
  • 96
  • 1
  • 4
6

Use this:

prefs:root=TOUCHID_PASSCODE

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

neuhaus
  • 3,886
  • 1
  • 10
  • 27