How to hide tab bar with animation in iOS?

后端 未结 15 1898
夕颜
夕颜 2020-11-30 19:20

So I have a button that is connected to a IBAction. When I press the button I want to hide the tab bar in my iOS app with a animation. This [self setTabBarHidden:hidde

15条回答
  •  粉色の甜心
    2020-11-30 20:10

    This wrks for me: [self.tabBar setHidden:YES];
    where self is the view controller, tabBar is the id for the tabBar.

提交回复
热议问题