Error: unreachable because it has no entry points

后端 未结 12 1191
小蘑菇
小蘑菇 2021-02-03 20:15

Using Swift I got the error that my \"TableViewController\" is unreachable because it has no entry points and no runtime access via [UIStoryboard instantiateViewControllerWithId

12条回答
  •  不思量自难忘°
    2021-02-03 21:02

    You need to mark a viewController in your Storyboard and set it to the initial viewController. You do this under the Attributes Inspector. This means that you set which viewController shall open when you start your application.

提交回复
热议问题