I am new to iOS development. I followed the tutorial on Apple's official website to learn, and the URL is below:
https://developer.apple.com/tutorials/app-dev-training/creating-a-storyboard-app
Description:
However, when I run the app, the app's screen is always blank. I am pretty sure I followed by the official tutorial step by step.
What I have tried:
Check the mark of "is Initial view controller" at Main.storyboard
Cancel the mark of "is Initial view controller" at Launch.storyboard (if I did not cancel the mark, the label "I am a label" of Launch.storyboard will show up for one second and then come up a blank screen.)
Delete the view controller and add a new one.
I check the Info, it seems fine.
Xcode: 13.1
Simulator: iOS15
Simulator: iPhone 12 Pro
Looking forward for response, and thank you~
Please check dark mode of simulator OR try to change colors... You can also check it in view Hierarchy if the view has that label or not Here is Apple doc to check view Hierarchies
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.