Storyboard Entry Point Missing

2020-05-20 07:18发布

问题:

In xcode 7.2 there is no Storyboard Entry Point item in the Object List. I need to use Storyboard Entry Point , I couldn't find any similar problem by google searches so can anyone help me here.

回答1:

  1. Click on Top of ViewController or Controller in Document Outline window (on left side) of the Controller you want to make Storyboard Entry Point.

  2. Click on Attribute inspector button (in right side).

  3. Enable "Is Initial View Controller".

Storyboard Entry Point will reappear hopefully.



回答2:

There is a Is Initial Controller checkbox in the Attributes Inspector (⌥⌘4 or ⌥⌘5) of the window controller in Interface Builder