Sumi-Interactive / SIAlertView

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

UIAlertController:supportedInterfaceOrientations was invoked recursively #117

Open linked67 opened 8 years ago

linked67 commented 8 years ago

From Crashlytics report:

Fatal Exception: NSInternalInconsistencyException  
UIAlertController:supportedInterfaceOrientations was invoked recursively!

and

SIAlertView.m line 238
-[SIAlertViewController supportedInterfaceOrientations]
MattiaConfalonieri commented 8 years ago

Same here, any fix?

zwm5000 commented 8 years ago

any one can know how to fix it?

MattiaConfalonieri commented 8 years ago

Any news?

jonahgabriel commented 8 years ago

I added a hack to just return the supported interface orientations of my app:

- (NSUInteger)supportedInterfaceOrientations
{
    return UIInterfaceOrientationPortrait | UIInterfaceOrientationPortraitUpsideDown; 
}
yexiahua commented 8 years ago

FIX type warning