Skip to content

App Aborts when dismiss Modal View after rotation #60

Open
apons opened this Issue Jun 24, 2012 · 1 comment

2 participants

@apons
apons commented Jun 24, 2012

When I open a modal view with regard to the splitviewcontroller in portrait, then rotate to landscape and then dismiss modal view the app aborts and terminates. If I open and close the modal view in portrait or open and close the modal view in landscape not matter how many times I have rotated the view it works fine. But if open in Portrait and close in Landscape it aborts in the method- (void)reconfigureForMasterInPopover:(BOOL)inPopover when dealing with _hiddenPopover ?

It works if the modal view is opened in any style other than the default, in both the following styles it function correctly.

navController.modalPresentationStyle = UIModalPresentationFormSheet;
navController.modalPresentationStyle = UIModalPresentationPageSheet;

So, if default style in portrait (open) then rotate to landscape (close) it aborts.

I just opted to useUIModalPresentationPageSheet, but would like to have the flexibility to you the other default style also.

Thanks if anyone has any suggestions

@schustafa

Have a look at #31, it's the same issue you're describing here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.