开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜