Showing a hidden UITabBArController
I am hiding the UITabBar controller using the code below.
self.hidesBottomBarWhenPushed = YES;
[self.navigationController pushViewController:details animated:YES];
This is working f开发者_如何学JAVAine.But when I return back how can I show the bar which is already hidden? Thanks
Add a delegate property to the details viewController with a method that you call before leaving the details view and unhide the bottom bar in there?
Instead of the code I provided above I used this
details.hidesBottomBarWhenPushed = YES;
[self.navigationController pushViewController:details animated:YES];
ie replaced self with details.
THanks all.
精彩评论