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

After calling PAPasscode, Cursor in all text fields are invisible? #15

Open
civilordergone opened this issue Jun 4, 2015 · 2 comments

Comments

@civilordergone
Copy link

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.

@ahmdx
Copy link

ahmdx commented Jun 12, 2015

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.

@ahmdx
Copy link

ahmdx commented Jun 12, 2015

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.

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

2 participants