UISplitViewController - presenting modal view controller over the detailed view controller in landscape problem
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 = UIModalP开发者_StackOverflow中文版resentationPageSheet;
[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?
Show the modal view over your SplitViewController, not over the detail.
精彩评论