You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: