Sumi-Interactive / SIAlertView

An UIAlertView replacement with block syntax and fancy transition styles.
MIT License
2.51k stars 424 forks source link

Support for iOS 5 #11

Closed aporat closed 11 years ago

aporat commented 11 years ago

contains changes from https://github.com/Sumi-Interactive/SIAlertView/pull/6 & fixes UIWindow hierarchy issues by saving a reference to the old UIWindow.

This pull request is more a hack than a fix, but it might help someone to the right direction.

ricsantos commented 11 years ago

This does not fix the z-layer issue (alert view is presented below the shadow). Also, does not address the rotation issue (alert view is presented in portrait device orientation).

dmitrc commented 11 years ago

Is this commit ready to use? Or some bugs are still there? In case if the problem can't be solved without hacking, maybe we should incorporate fallback to UIAlertView for older firmwares right into the control?

kyoji2 commented 11 years ago

Hey guys. SIAlertView is now support iOS 5. Thanks @aporat for the original pull request, and @steakknife for the trying to fix the windows hierarchy issue. Turns out it's a really easy way to achieve that. Check the commit history if you are interested.

skull-squadron commented 11 years ago

Awesome. Will test.