I have a hidden tab bar but I am finding that the area of the view that is where the tab bar would have been does not receive touch events. The tab bar is hidden due to setting hidesBottomBarWhenPushed. Is there anyway around this?
A:
Set the .frame property to CGRectZero when you're hiding it, thus making it take up no space. I had this problem and as you say, the objects "underneath" your invisible control can't receive touch events!
h4xxr
2009-06-12 13:15:41
Sounds promising. How were you hiding it? I set myController.hidesBottomBarWhenPushed = YES. Where did you set the frame property? on one of the subviews of the tabBarController.view?
Ian1971
2009-06-12 13:26:08
A:
I've got around the problem by adding my view as a sub view of myViewController.tabBarController.view so that it appears on top of the tab bar. Works ok now
Ian1971
2009-06-12 14:01:17