TouchID error Code: -1004 NSLocalizedDescription: User interaction is required
问题 I am working on the app that uses touch ID for login. It should ask for touch ID only at first launch (i.e. I am not asking for touch ID auth when app enters foreground from background). Here is what I do to show touchID: AppDelegate.swift: func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { let loginViewController = storyboard.instantiateViewControllerWithIdentifier("login") as! LoginViewController rootViewController =