Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

marcussombra

macrumors newbie
Original poster
Jul 24, 2015
1
0
I have a TabBar in StoryBoard.
How do I hide the first ITEM tabbar this?

Thanks!
 
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.

Code:
- (void)setItems:(NSArray *)items animated:(BOOL)animated

- (void)setViewControllers:(NSArray *)viewControllers animated:(BOOL)animated
 
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."
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.