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

Dismiss makeKeyAndVisible #5

Open
skajake opened this issue Nov 1, 2012 · 0 comments
Open

Dismiss makeKeyAndVisible #5

skajake opened this issue Nov 1, 2012 · 0 comments

Comments

@skajake
Copy link

skajake commented Nov 1, 2012

The dismiss method looks at [UIApplication sharedApplication].windows.lastObject and calls makeKeyAndVisible on that object. The problem is that sometimes UIKit will throw a UITextEffectsWindow onto the stack. The problem? When dismissing this private object gets makeKeyAndVisible called. This results in any firstResponders on the actual UIWindow cease working. Text input on textfields and textviews stops working, etc.

My proposed fix, is to more intelligently decide which window object to makeKeyAndVisible. Perhaps filter out private objects such as UITextEffectsWindow when making this decision.

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

1 participant