hidesBottomBarWhenPushed = NO not working?

后端 未结 9 1418
南笙
南笙 2020-12-08 14:56

I have a UITabBar in my app, which I\'m hiding on the first UIViewController in the first tab by putting this line in the AppDelegate

9条回答
  •  独厮守ぢ
    2020-12-08 15:17

    I think you misunderstood the hidesBottomBarWhenPushed use. If YES, the bottom bar remains hidden until the view controller is popped from the stack.

    So if I understand your question correctly:

    The secondViewController should be the YES, the firstViewController should be the NO.

提交回复
热议问题