开发者

UISplitController: How can I place detail sub-view in front of root view?

I'm writing an iPad application and I need a bar to span the entire bottom of the screen, in front of both the root controller's view and the detail controller's view. The bar is a sub-view of the detail contro开发者_如何转开发ller's view, and I have "clip sub-views" turned off so that it extends outwards to the left of the detail controller's view's bounds. However, it ends up behind the root view controller's view. How can I bring it in front of the root view?


Have you tried calling -bringSubviewToFront: like so?

[myRootView bringSubviewToFront:myBarView];

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜