How do I hide/show tabBar when tapped using Swift in iOS8

后端 未结 10 1055
终归单人心
终归单人心 2020-12-04 12:44

I am trying to mimic the UINavigationController\'s new hidesBarsOnTap with a tab bar. I have seen many answers to this that either point to setting the hi

10条回答
  •  盖世英雄少女心
    2020-12-04 13:14

    I use tabBar.hidden = YES in ObjC to hide the tab bar in certain cases. I have not tried wiring it up to a tap event, though.

提交回复
热议问题