After calling PAPasscode, Cursor in all text fields are invisible?
Opened this issue · 2 comments
I am pulling the library through cocoapods.
Every time I give focus to some UITextfield after PAPasscode is closed, the cursor disappears..
This is happening on iOS8
PAPasscode itself appears to work properly and I copied the way you've instantiated it in your demo.
I have this same problem but I think that it's not the cursor that disappears, the UITextField itself disappears. Reproduce it and use Color Blended Layers on the Simulator (Debug > Color Blended Layers) on iOS 8. I haven't tried it on any other version of iOS.
After searching the internet and tinkering with some parts of the code, I have found that removing the line [passcodeTextField becomeFirstResponder];
from -viewWillAppear:
to -viewDidAppear:
fixes the problem. This will result in a keyboard appearance delay, however, it fixes the problem.