SVStatusHUD
SVStatusHUD copied to clipboard
Dismiss makeKeyAndVisible
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.