tableVIew 中的 cell 转场到另一个视图 然后 切回来时,tablebar 就看不到了 为什么啊
解决方案
20
是不是把 hidesBottomBarWhenPushed 设置为 YES 了?
20
在tab bar 文件中添加:
– (void)viewDidAppear:(BOOL)animated{
self.hidesBottomBarWhenPushed = YES;
}
-(void)viewDidDisappear:(BOOL)animated {
self.hidesBottomBarWhenPushed = NO;
}
– (void)viewDidAppear:(BOOL)animated{
self.hidesBottomBarWhenPushed = YES;
}
-(void)viewDidDisappear:(BOOL)animated {
self.hidesBottomBarWhenPushed = NO;
}