objective c - Reordering view controllers in a UITabBarController, all defined in a Storyboard -


i'd change order of view controllers attached uitabbarcontroller, within storyboard, without disconnecting view controllers , reconnecting them in desired order.

my question: can done via storyboard ib ui?

discussion

i'm looking inspector panel can move items , down in list of view controllers feeds viewcontrollers property on uitabbarcontroller.

several view controllers linked tab bar controller

i've got lot of tabs , i'm hoping not have disconnect , reconnect, change order.

i tried changing 'tag' value on bar item, in inspector, value ignored @ runtime (i believe identification purposes, not ordering).

tag set on bar item

enter image description here

you can drag , drop , resort them mouse in storyboard. still works in 4.5.1

edit

maybe have first switch storyboard view "source code" , go before can drag. right-click storyboard file , select "open as" -> "source code" , again "open as" -> "interface builder - ios storyboard". should trick.

edit

does not work in xcode 4.5.2 anymore me!

edit

in xcode 5 preview 5 works again. seems apple did fix bug in new verion

enter image description here


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c++ - Using OpenSSL in a multi-threaded application -

All overlapping substrings matching a java regex -