Remove default in iOS project and use self-built viewcontroller after black screen

Source: Internet
Author: User
Remove default in iOS project and use self-built viewcontroller after black screen
老帅(http://blog.csdn.net/shuaihj)
Phenomenon

Often when we create a new iOS project, we use custom viewcontroller instead of their own. As a first-time developer with iOS, there is a problem with the app launching a black screen and not displaying the custom view! as expected

Viewing error messages

Failed to instantiate the default view controller for Uimainstoryboardfile ' Mainstoryboard '-perhaps the designated entry Point was not set?

Reason

The reason for this problem is that you did not specify an initial view Controller for your storyboard.

Workaround

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Remove default in iOS project and use self-built viewcontroller after 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.