black screen simulator on xcode 11.2.1

341 Views Asked by At

i installed xcode 11.2.1 , trying to lean some new thing (xcode and ios app development ) i tried to creat a simple app (the Side Menu of an app), after trying to run the app, the screen turns black and doesn't show my app. before writhing this question i've tried several suggested solutions like reset the content and the sitting on the simulator but it didn't work, i hope somebody can help me thank you this is the containercontroller screen shot

1

There are 1 best solutions below

1
On

A black screen happens e.g.: if your app doesn't have an "entry point", thats the point (UIViewController) your app starts.

Here is an example how to set this:

  1. Make sure that the right Storyboard is set in the project configuration: enter image description here

  2. Make sure that within the selected Storyboard, there is an Initial ViewController: enter image description here

After you performed these steps, your app show the Initial ViewController right after the app started: enter image description here