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
Asked
Active
Viewed 330 times
-1
-
1You could try what happens when you add `view.backgroundColor = .white`. – dasdom Dec 24 '19 at 21:21
1 Answers
2
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:
Make sure that the right
Storyboard
is set in the project configuration:Make sure that within the selected
Storyboard
, there is anInitial ViewController
:
After you performed these steps, your app show the Initial ViewController
right after the app started:

2h4u
- 504
- 3
- 8
-
i've tried your solution but it did't work for me, i had to start from scratch, and do everything, not th way i want but so far so good considering my experience. – hatim Dec 26 '19 at 17:45