0

I want it so when I call this:

context.evaluatePolicy(.deviceOwnerAuthentication, localizedReason: reason) { (success, error) in

the UIAlertController that pops up offers an option to the user to select either TouchID or Passcode, and in the documentation I found that it's intended to do that, but for whatever reason it doesn't. Any idea of how I can get this to work?

Jay
  • 2,591
  • 1
  • 16
  • 28
  • 1
    When the Touch ID alert appears telling the user to authenticate using your finger, use the wrong finger and the alert changes to offer the passcode option. – rmaddy Jan 18 '18 at 18:30
  • I know that this is the normal flow @rmaddy, but I want it so that both options appear right away, rather than having to fail first. – Jay Jan 18 '18 at 18:31
  • 1
    That's not an option. File an enhancement request with Apple. – rmaddy Jan 18 '18 at 18:32
  • where can I do that? @rmaddy – Jay Jan 18 '18 at 18:44
  • http://bugreport.apple.com/ – rmaddy Jan 18 '18 at 19:29
  • Hope the below link will help you [http://stackoverflow.com/questions/46030483/how-to-customise-the-deviceownerauthentication-view-controller](https://stackoverflow.com/questions/46030483/how-to-customise-the-deviceownerauthentication-view-controller) – BoR Jan 29 '18 at 15:59

0 Answers0