Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard doesn't appear if Touch ID if "Enter Passcode" is selected after a failed attempt #85

Open
gerardg opened this issue Dec 27, 2016 · 2 comments

Comments

@gerardg
Copy link

gerardg commented Dec 27, 2016

Using iOS 10.2

  1. Enable TouchID
  2. Attempt to unlock with wrong finger
  3. Choose "Enter Passcode"
  4. Passcode screen appears without the keyboard.

Looking at the debug view hierarchy, it's just not there.

It seems to be a timing issue. If I insert a wait (a lame workaround, I know) in requestTouchIDWithCompletion in LAErrorUserFallback, it appears.

response = VENTouchLockTouchIDResponseUsePasscode;
[NSThread sleepForTimeInterval: 0.001];

Not a great solution, but might help in tracking down a real one.

screen shot 2016-12-27 at 11 03 05 am
screen shot 2016-12-27 at 11 03 38 am
screen shot 2016-12-27 at 11 13 06 am

@Drag11
Copy link

Drag11 commented Dec 29, 2016

I can confirm the issue after the same STRs.
[NSThread sleepForTimeInterval: 0.001]; in my case is not enough, [NSThread sleepForTimeInterval: 0.5]; works good.

@pouriaalmassi
Copy link

I tested this on a device and can confirm the lack of keyboard presentation. However, interestingly the space where the keyboard would be does in fact receive touches and inputs the correct key values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants