启动屏幕未显示iOS 8 [英] Launch Screen not displaying iOS 8
问题描述
我正在尝试显示启动"屏幕,而是显示默认的黑屏.
I'm trying to get the Launch screen to display instead I get the default black screen.
我记得我曾经遇到过这个问题,这确实很愚蠢,但是我不记得是什么问题.
I remember I've had this issue in the past and is something really silly but I can't remember what it is.
我有一个LaunchScreen.xib.我已在目标中设置->信息,以使用LaunchScreen而不是图像目录.我正在运行iOS 8并使用Xcode 6.1.我尝试了所有iPhone模拟器和iPhone 4s.
I have a LaunchScreen.xib. I've set in my target -> info to use LaunchScreen and not image catalog. I am running iOS 8 and using Xcode 6.1. I tried on all iPhone simulators and iPhone 4s.
我想不出什么能提供的更多信息.
I can't think what more info to give than that.
推荐答案
我遇到了同样的问题. 原来,我之前曾尝试在启动屏幕上附加一个Viewcontroller文件.要解决:
I had the same issue. Turned out that I had earlier tried to attach a viewcontroller file with the launchscreen. To fix:
- 转到启动屏幕
- 在右窗格中单击连接检查器"
- 删除所有连接.
- Go to launch screen
- Click Connections Inspector in right pane
- Remove all connections.
根据@doctorBroctor:也转到文件的所有者"选项卡,然后删除那里的连接.
Accoring to @doctorBroctor: also go to the File's Owner tab and remove the connections there.
这篇关于启动屏幕未显示iOS 8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!