Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rearranging Tab Bar Controller Order in StoryBoard

Tags:

xcode

ios

In my app iPhone app I have a Tab Bar Controller with 4 relationships to 4 different Table View Controllers. Is there a way to rearrange the order of the relationship in the StoryBoard graphically? I can't find a way to do this and I'm sure I must be missing something!

like image 919
BigLex Avatar asked Sep 30 '12 16:09

BigLex


People also ask

How do I change the order of the tab bar?

Naming the Tab Bar Items If you want to change the order of the Tab Bar Items in the Tar Bar Controller, drag the item and drop it into the order you want.

How do I add a tab bar to a storyboard?

To add a tab, first drag a new View Controller object to the storybard. Next control-drag from the tab bar controller to new view controller and select view controllers under Relationship Segue . Your tab bar controller will update with a new tab.


2 Answers

You can just re-arrange the order by dragging and dropping the icons in the tab bar controller

like image 31
Indy Bains Avatar answered Sep 19 '22 22:09

Indy Bains


In 4.5 save the storyboard after adding a Controller, switch to another file and then back to the Storyboard and the tab dragging should work again.

like image 61
abitofcode Avatar answered Sep 20 '22 22:09

abitofcode