Hide item in Tabbar (Storyboard)

Discussion in 'iOS Programming' started by marcussombra, Jul 24, 2015.

  1. marcussombra macrumors newbie


    Jul 24, 2015
    I have a TabBar in StoryBoard.
    How do I hide the first ITEM tabbar this?

  2. xStep macrumors 68000

    Jan 28, 2003
    Less lost in L.A.
    Programmatically. There isn't a hide option. You have to set them even if you are 'hiding' one by not including it in the list. How depends on if you're using a UITabBar or a UITabBarController. Look for the set method in the appropriate class.

    - (void)setItems:(NSArray *)items animated:(BOOL)animated
    - (void)setViewControllers:(NSArray *)viewControllers animated:(BOOL)animated
  3. bjet767 macrumors 6502a

    Oct 2, 2010
    What do you mean by "hide?"

    If you are asking how to change the name of the first view then that is another question. It can be done programmatically or via the tool bar on the right side "Attribute Inspector."

Share This Page