iOS Learning-Start the app screen black screen

Source: Internet
Author: User

Before you learn from the book, there will be a sample program.

Some of these sample programs require the creation of an empty application, but because the version of Xcode used in the book is lower, and I use the latest Xcode, I can't find the empty application option at all.

I think, since there is no empty application, then I create a single View application, and then delete some of the things inside, and then follow the book to do it.

The Main.storyboard file was also deleted.

Then create a new Main.storyboard, then drag a view Controller and add some controls to the view.

Then associate the newly created Uiviewcontroller class and think everything is going well.

And then start running the program, the result, the app start screen at the end, followed by a black screen.

。。。。。。

Then toss for a long time, found that the original is not in the property inspector inside the "is Initial View Controller" option on the hook .

Put this option on the hook and it will work again.

iOS Learning-Start the app screen black screen

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.