简体   繁体   English

XCode 6.3.1启动图像源不适用于资产目录

[英]XCode 6.3.1 Launch Images Source not working with asset catalog

XCode 6.3.1 iOS 8.3 iPhone 5S XCode 6.3.1 iOS 8.3 iPhone 5S

I created a new Game Application ( SpriteKit ) in XCode and specified Swift as the language. 我用XCode创建了一个新的游戏应用程序(SpriteKit),并将Swift指定为语言。

  • Added launch image using asset catalog 使用资产目录添加了启动图像
  • Deleted LaunchScreen.xib from info.plist 从info.plist中删除了LaunchScreen.xib
  • Changed Launch Images Source in target->general to point to asset catalog 在target-> general中将启动图像源更改为指向资产目录

When I launch the app on my phone I get a black screen for a few seconds and then the app shows up. 当我在手机上启动该应用程序时,我会黑屏几秒钟,然后该应用程序出现。

How do I specify a launch screen in XCode that supports iOS 7 & 8? 如何在XCode中指定支持iOS 7和8的启动屏幕?

1) Check if you have select your App Icon inside your target 1)检查您是否在目标内选择了应用程序图标 在此处输入图片说明

2) Verify you have ALL images in your app icon set. 2)确认您的应用程序图标集中有所有图像。 (I'm exclude Watch Icons and Car Play, but if you need it you must add it inside your icon set) (我不包括“观看图标”和“汽车游戏”,但如果需要,则必须将其添加到图标集中)

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM