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];
精彩评论