Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IOS 7 hide tabbar issue

Hide tabbar in IOS7 shows informal behaviour

When I use

self.tabBarController.tabBar.hidden = YES;

Above code hides the tabBar, but my view from bottom does not remain interactive

But when I uses this just before pushing viewController in navigation

someViewController.hidesBottomBarWhenPushed = YES
[self.navigationController pushViewController:someViewController animated:YES];

It hides tabbar as well as view from bottom is also interactive. but problem in this case is, when we pop viewController it shows black bar just above tabbar for few seconds.

like image 316
Haris Avatar asked Jan 11 '23 08:01

Haris


1 Answers

I hope you got the solution. Just to make sure, did you try

 self.edgesForExtendedLayout = UIRectEdgeBottom;
like image 72
Kumar Aditya Avatar answered Jan 21 '23 01:01

Kumar Aditya