Reputation: 19936
When I try to show some view in modal mode over the detailed view of the UISPlitViewController in landscape mode by this code:
UIViewController *controller = ....
controller.modalPresentationStyle = UIModalPresentationPageSheet;
[self.detailedViewController presentModalViewController:controller animated:YES];
...after dismissing it, detailed view is moved to the left and hides behind master view controller. It looks like origin of the detailed view shifts to the origin of the master view (menu in my case)? Why is it happening?
Upvotes: 3
Views: 1672
Reputation: 130200
Show the modal view over your SplitViewController, not over the detail.
Upvotes: 3