开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜