10

I have a UINavigationController inside a UITabBarController. I'm presenting a sort of popover view using a semi-transparent UIView, but am not calling presentModalViewController or any of the usual methods. I know about hidesBottomBarWhenPushed, but is there a way I can hide the bottom bar (or even betterm slide it out) on demand (just before my subView is added to the navigationController's top view)?

Echilon
  • 10,064
  • 33
  • 131
  • 217

2 Answers2

17

Have you tried setting this property?

navigationController.toolbarHidden = YES;

Or with animation:

[navigationController setToolbarHidden:YES animated:YES];
0

See answer https://stackoverflow.com/a/9141766/305351 to related question.

Specifically Borut Tomazin's comment and his solution https://gist.github.com/borut-t/6507423.

Community
  • 1
  • 1
Martyn Davis
  • 625
  • 1
  • 10
  • 16