0

I am using iOS 7. I have a UITableView inside a UITabbarController.

I hide the tabbar using the following code (meanwhile I also set the tableView to be fullscreen)

CGRect frame = self.tabBarController.tabBar.frame;
frame.origin.y = 568.0;
self.tabBarController.tabBar.frame = frame;

However, after that, I cannot select the cell near the bottom. When tap at the position where the tabbar was, there is no effect.

Has anyone run into the same problem? Do anyone know how to fix?

HanXu
  • 5,507
  • 6
  • 52
  • 76
  • Do not change the tab bar's frame. What you're trying to do is not supported by UITabBarController. – matt May 16 '14 at 00:08

1 Answers1

0

You'll want to use something like This to detect the tab bar and then hide.

Community
  • 1
  • 1
Jordan Clifton
  • 321
  • 1
  • 3
  • 10