I have 2 view controllers VC1 and VC2
VC1 is a UITableViewController
and upon selection of any row it hides the UITabBarController
. Then it is pushed to VC2 (here UITabBarController
is hidden). Now I added few buttons in the area of UITabBarController
with some events on them but the problem is they are not clickable. When I move the buttons anywhere on the view they work very fine.
What should I do?
You can do like this,
vc2.hidesBottomBarWhenPushed = YES;
[self.navigationController pushViewController:vc2 animated:YES];
If you dont want to use this code Please let me know the reason.