hidesBottomBarWhenPushed = NO not working?

后端 未结 9 1451
南笙
南笙 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:26

    Use

    secondViewController.hidesBottomBarWhenPushed = NO;
    

    When insert some operations

    firstViewController.hidesBottomBarWhenPushed = YES;
    

提交回复
热议问题