Rightpoint / RaisinToast

A UIWindow subclass used to message information to the users of your app.
MIT License
83 stars 14 forks source link

Fix #28 example app crashing #31

Closed adamhrz closed 9 years ago

adamhrz commented 9 years ago

Old UIAlertView (still used by Apple alerts in places) calls supportedInterfaceOrientations but because alerts are shown in a status window it would appear to be the topviewcontroller and then internally call supportedInterfaceOrientations again, hence the infinite recursion.

Updated the sample app to use UIAlertController since UIAlertView is now deprecated.'

Addresses #31

ZevEisenberg commented 9 years ago

Your Podspec specifies a minimum iOS version of iOS 6, but this change would necessitate a minimum of iOS 8.

ZevEisenberg commented 9 years ago

More specifically, your example project specifies iOS 7.1. That’s what really matters for this change.

adamhrz commented 9 years ago

Arg. Thanks @zeveisenberg - Updated on master... and will have to add backwards compatibility update next...

On Fri, Oct 2, 2015 at 10:48 AM, Zev Eisenberg notifications@github.com wrote:

More specifically, your example project specifies iOS 7.1. That’s what really matters for this change.

— Reply to this email directly or view it on GitHub https://github.com/Raizlabs/RaisinToast/pull/31#issuecomment-145046540.

Adam Howitt, Senior Software Developer

Raizlabs Corporation: Mobile Strategy, Design, and Development www.raizlabs.com | adam.howitt@raizlabs.com | @earnshavian https://twitter.com/earnshavian