iOS 7 - Failing to instantiate default view controller

前端 未结 16 2033
一生所求
一生所求 2020-11-28 03:08

I am using Xcode 5 in a newly created app and when I just create it I go for the run button e click on it, then the project gets built but it does not show in the iOS Simula

16条回答
  •  猫巷女王i
    2020-11-28 03:30

    1st option

    if you want to set your custom storyboard instead of a default view controller.

    Change this attribute from info.plist file

    UISceneStoryboardFile Onboarding

    Onboarding would be your storyboard name

    to open this right-click on info.plist file and open as a source code

    2nd option

    1- Click on your project

    2- Select your project from the target section

    3- Move to Deployment interface section

    4- Change your storyboard section from Main Interface field

    Please remember set your storyboard initial view controller

提交回复
热议问题