Rearranging Tab Bar Controller Order in StoryBoard

前端 未结 18 1732
鱼传尺愫
鱼传尺愫 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:11

    I know the OP is using Xcode interface builder and asking for a graphical way to do this, but for developers working with Xamarin iOS Designer, here is a workaround that I use.

    Open the .storyboard file in a text editor or using Xcode, right click on the storyboard item in Project Navigator and select Open As Source Code. In the storyboard XML locate the node. Then I rearrange the order of the segues in the section:

    
        
        
        
    
    

    Search for the destination= attribute value in the XML to determine which view controller the segue element is pointing at.

提交回复
热议问题