Rearranging Tab Bar Controller Order in StoryBoard

前端 未结 18 1552
鱼传尺愫
鱼传尺愫 2021-01-30 03:28

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 Sto

相关标签:
18条回答
  • 2021-01-30 04:00

    I was following the raywenderlich tutorial for storyboards too and realised that after adding the tab controller i couldn't rearrange the tabs by dragging it. Well, apparently its just some bug in xcode. So just quit xcode, restart it and this time, you will be able to drag the tabs.

    0 讨论(0)
  • 2021-01-30 04:00

    For me dragging did not work either in XCode 7.3.1. Restarting XCode did not help. And none of the above mentioned solutions worked for me.

    What helped me: I deleted the relationship to the second item and ctrl-dragged from that item to the Tab Bar Controller and created another relationship. It was automatically in the second place now.

    0 讨论(0)
  • 2021-01-30 04:02

    Same thing is in xCode 4.6. I originally was following tutorial on beginning storyboards in ios At the point to swith the item on TabBarController, I could't change the order. I tried to save it - didn't work; however, Once I closed the XCode and open again - it DID WORK.

    0 讨论(0)
  • 2021-01-30 04:03

    SHIFT + DRAG works on Xcode 10.0

    0 讨论(0)
  • 2021-01-30 04:03

    XCODE 10.1: Zoom the story board. Simply drag tab items. (No shift no other)

    0 讨论(0)
  • 2021-01-30 04:04

    Just drag and drop the tab icons in the tab bar.

    i.e. the main tab bar that belongs to the tab bar controller.

    HTH

    ::EDIT:: So this doesn't seem to work... I'm sure it used to.

    Anyway, the easiest way I found is to remove the tabs and add them back in the order you want them to show.

    Hope this helps.

    0 讨论(0)
提交回复
热议问题