Xcode Tabbed Application - Adding New Tab view

前端 未结 7 529
南笙
南笙 2020-12-04 20:01

I\'m working with Xcode 4.2. I started to work with Tabbed Application and now I want to add 3rd and 4th Tabbed to story board on my application. How Can I add it? I try to

相关标签:
7条回答
  • 2020-12-04 20:43

    I am using Xcode 4.3.3 and I was able to add additional tabs by the following steps:

    1. Create a Tabbed Applications.
    2. Make sure Utilities is open. Pick View Controller from the Objects and drag and drop in *.storyboard.
    3. Click and hold control key. Click on Tab Controller and move the cursor to the new View Controller that you have added. When you release the mouse button and control key, you will see a popover which reads 4 options: - Relationship - View Controller, Push, Modal and Custom.
    4. If you select Relationship - View Controller option, Xcode automatically adds another tab and connects the Tab Controller to the window that you added.

    From this point onwards it is pretty simple to modify the text/pictures of the tab.

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