天天看點

IOS storyBoard 打開黑屏

1、我們在mean.storyBoard中建立一個viewController,如果沒有‘Initial View Controller’,會Log“Failed to instantiate the default view controller for UIMainStoryboardFile 'Main' - perhaps the designated entry point is not set?”。

IOS storyBoard 打開黑屏

2、我們建立一個storyBoard,命名:Second_StoryBoard。若想将其添加為第一顯示界面,我們不僅要“Intial View Controller”,還要在TARGETS中設定Deployment Target的Mian Interface為“Second_StoryBoard”.

IOS storyBoard 打開黑屏