wimagguc / ios-custom-alertview

Custom UIAlertView. Continue adding images and UIViews to dialogs in iOS7+
Other
1.66k stars 394 forks source link

Fix do not show alert view bug #90

Closed morugu closed 8 years ago

morugu commented 8 years ago

There is a case of do not show alert view in after first launch. I fixed it. please check it.

wimagguc commented 8 years ago

Unfortunately this solution can be a breaking update for a set of users: keyWindow may return anything that covers the application's window (like a keyboard or UIAlertView window), so the most generally applicable solution is still using windows.firstObject. (Glad you made it work for your app though!)

manan280194 commented 8 years ago

Thanks @morugu. This really did the trick.