开发者

Problem with SplitViewController: Root in second plane when I show popover

开发者 https://www.devze.com 2023-04-06 00:43 出处:网络
I have the nex开发者_Go百科t problem with the split view controller: I have one view controller that add other view with an animation from the left (under the root view). All works fine but when I pre

I have the nex开发者_Go百科t problem with the split view controller: I have one view controller that add other view with an animation from the left (under the root view). All works fine but when I press the button and show the popover in portrait orientation and then come back to landscapen orientation the view appear above the root controller.

I try to bring the rootview to up but it doesn't work. Someone could help me please?

Thanks


Well, finally I can solve the problem with:

[[[delegate splitViewController] view] bringSubviewToFront:[[[[delegate splitViewController] viewControllers] objectAtIndex:0] view]];
0

精彩评论

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