启动屏幕未显示iOS 8 [英] Launch Screen not displaying iOS 8

查看:79
本文介绍了启动屏幕未显示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:

  1. 转到启动屏幕
  2. 在右窗格中单击连接检查器"
  3. 删除所有连接.
  1. Go to launch screen
  2. Click Connections Inspector in right pane
  3. Remove all connections.

根据@doctorBroctor:也转到文件的所有者"选项卡,然后删除那里的连接.

Accoring to @doctorBroctor: also go to the File's Owner tab and remove the connections there.

这篇关于启动屏幕未显示iOS 8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆