How to add an “entry point arrow” to a tab bar controller?

后端 未结 4 1451
不知归路
不知归路 2021-01-31 14:14

In Xcode 6.2 beta, I am able to make some view controllers such as \"View Controller\" or \"Navigation view controller\" the entry point of my interface by dragging and dropping

相关标签:
4条回答
  • 2021-01-31 15:05

    Try with following steps.

    1) Open StoryBoard.

    2) select TabbarControllerwhich you want to set as RootViewController.

    3) Open Properties.

    4) select InitialView Controller Option.

    For help you can see following image.

    enter image description here

    0 讨论(0)
  • 2021-01-31 15:05

    Had the same problem. The Answer above solved it using Xcode 6.4. So I think this is the right answer. But as I can´t comment to provide this alternative, I write a new answer

    It is also possible to:

    1. open the StoryBoard per Open as Source Code
    2. In the XML <document> tag you can add the initialViewController="viewVontrollerID" tag
    3. replace the "viewVontrollerID" with the id of the ViewController, that the application should start with. (keep the "")
    0 讨论(0)
  • 2021-01-31 15:06

    its a litile bit confusing over versions on xCode, I'm using version 8.3.2 and it has the follwing

    select navigation controller

    check the is initial view controller checkbox

    2[select is initial view controller ]2

    0 讨论(0)
  • 2021-01-31 15:09

    I couldn't find the "initial view controller" checkbox at first. Then I realized that this is because I was in the "Table View" not the "Table View Controller." When I clicked into the "Table View Controller" that checkbox appeared.

    Xcode View

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