Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App Aborts when dismiss Modal View after rotation #60

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

App Aborts when dismiss Modal View after rotation #60

apons opened this issue Jun 24, 2012 · 1 comment

Comments

@apons
Copy link

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
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants