UIToolBar on top of UITabBar?
When in the Camera Roll section of the Photos app, you can click the top right button to edit the photos. This replaces the bottom tab bar with three new buttons wh开发者_StackOverflowich are in a UIToolBar.
I would like to do something similar, but I cannot get my UIToolBar to be on TOP of the tab bar. Is there a way to specify the layer order? Or do I need to do something different?
You may be able to add the toolbar as a subview of your key window:
[[[UIApplication sharedApplication] keyWindow] addSubview:toolbarView]
精彩评论