seedante / iOS-ViewController-Transition-Demo

《iOS 视图控制器转场详解》配套 Demo
479 stars 129 forks source link

嵌套在TabBar的自定义NavigationController转场问题 #2

Closed liwenDeng closed 8 years ago

liwenDeng commented 8 years ago

今天在项目中使用自定义Navigation的转场时发现这样一个问题: 如果自定义了NavigationController 转场动画,并且在该NavigationController 外面套了一个TabBarController,在AVC 推到 BVC 过程中,设置 BVC 的 hidesBottomBarWhenPushed = YES 的情况下,tabBar 有一个很明显的滑入画出的动作。如下图,这种情况下应该如何处理?

tabbartrans

seedante commented 8 years ago

你想获得什么样的结果?

liwenDeng commented 8 years ago

我想在转场时 不显示tabBar,已经找到方法了,在转场时设置 tabBar.hidden = YES 既可以了