I have a UITabBarController
with UITabBarItems
. I add a button on top of that which works fine until you use bottomBarHide
method. Then the button appears underneath the tab bar.
How do I fix this?
bringSubviewToFront should work:
[parentView bringSubviewToFront:childView];