Rightpoint / RaisinToast

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

Incompatibility with UIAlertView #27

Closed adolfo closed 9 years ago

adolfo commented 9 years ago

I'm seeing an issue whenever a UIAlertView is presented (separate from a RaisinToast alert).

The app crashes with an infinite recursion on [RZRootMessagingViewController supportedInterfaceOrientations]

- (NSUInteger)supportedInterfaceOrientations {
    UIViewController *topViewController = [RZRootMessagingViewController topViewController];
    return [topViewController supportedInterfaceOrientations];
}
adamhrz commented 9 years ago

Fixed in #31