2012年6月25日 星期一

[iOS] 設定 UITabBar 隱藏


隱藏 - 在 [self.navigationController pushViewController:animated:] 之前設定
self.hidesBottomBarWhenPushed = YES;

顯示 - (void)viewWillDisappear:(BOOL)animated
self.hidesBottomBarWhenPushed = NO;

沒有留言:

張貼留言