Show/Hide TabBarController in iphone

后端 未结 4 613
别跟我提以往
别跟我提以往 2020-12-11 08:01

i am making an application in iphone in which i have 4 tabbars & in one of its tab i have 4 views in 2nd view it needs to hide the tab bar. I am able to hide the tab bar

4条回答
  •  自闭症患者
    2020-12-11 09:01

    John Smith is correct. The URL for that sample is: http://developer.apple.com/iphone/library/samplecode/TheElements/index.html

    The code that does this is in AtomicElementViewController.m, and the line that achieves this effect is in the init method:

        self.hidesBottomBarWhenPushed = YES;
    

提交回复
热议问题