2011-06-24 42 views
1

我使用下面的代码隐藏了UITabBar控制器。显示隐藏的UITabBArController

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

这工作正常。但是当我返回时,我该如何显示已经隐藏的酒吧? 谢谢

回答

0

的相反,我上面提供的代码我用这个

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

即替换细节自我。

谢谢各位。

1

使用您在离开细节视图之前调用的方法向细节viewController添加委托属性,并取消隐藏其中的底部栏?