Rightpoint / RaisinToast

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

Example app is crashing #28

Closed chrisjrex closed 9 years ago

chrisjrex commented 9 years ago

Hi

When I tap on any of the PROTOCOL SUPPORTING VC options in the example app an error is thrown here:

- (NSUInteger)supportedInterfaceOrientations
{
    UIViewController *topViewController = [RZRootMessagingViewController topViewController];

    return [topViewController supportedInterfaceOrientations];
}

This is in the RZMessagingWindow.m file.

It seems to be hitting an infinite loop. If I hard code the returned value then it works fine.

adolfo commented 9 years ago

@chrisjrex I've seen this infinite loop as well and my workaround was the same as yours.

adamhrz commented 9 years ago

@chrisjrex @adolfo Fixed in #31