[英]Launch Image in asset catalog only has spaces for 2x and R4
I'm starting the design phase of an app and this is the first app I've ever built. 我正在开始应用程序的设计阶段,这是我构建的第一个应用程序。 The app is currently using iOS SDK 7.1 and has a Deployment Target of 7.0
该应用目前正在使用iOS SDK 7.1,部署目标为7.0
Even after all of the research I have done so far here on stackoverflow and reading the iOS 7 design guidelines, I am still having trouble figuring this out. 即使经过我迄今为止所做的所有关于stackoverflow和阅读iOS 7设计指南的研究,我仍然无法解决这个问题。
When I go to my asset catalog, and click on LaunchImage, it only has two slots. 当我转到我的资产目录并单击LaunchImage时,它只有两个插槽。 One for 2x and one for R4.
一个用于2x,一个用于R4。 However, a lot of the screenshots I keep seeing online have more slots than that.
但是,我在网上看到的很多截图都有更多的插槽。
If I click on the +
symbol and select New Launch Image, then this new LaunchImage has a ton of slots for iPhone and iPad, even for iOS 5, 6, and 7. 如果我单击
+
符号并选择New Launch Image,那么这个新的LaunchImage有大量的iPhone和iPad插槽,即使是iOS 5,6和7。
Am I correct in thinking that I am only supposed to use the default LaunchImage with slots for 2x and R4, because my app has a deployment target of iOS 7.0 and the only iPhone models that iOS 7 supports have retina displays? 我是否认为我只应该使用带有2x和R4插槽的默认LaunchImage,因为我的应用程序具有iOS 7.0的部署目标,iOS 7支持的唯一iPhone型号具有视网膜显示?
EDIT: AppIcon in the asset catalog is similar. 编辑:资产目录中的AppIcon是类似的。 It only has 3 slots, and all of them have 2x underneath them.
它只有3个插槽,所有插槽都有2个插槽。
The AppIcon and LaunchImage assets in asset catalog respond to your project configuration. 资产目录中的AppIcon和LaunchImage资产会响应您的项目配置。
If you have iOS SDK 7.1 and deployment target of 7.0, you do not need any iOS 6 resources , because your project will not run on iOS 6 operating system. 如果您有iOS SDK 7.1和7.0的部署目标, 则不需要任何iOS 6资源 ,因为您的项目将无法在iOS 6操作系统上运行。 Why would you waste application size, when resources are not used ever?
当资源不使用时,为什么要浪费应用程序大小?
Same goes for iPhone and iPad. iPhone和iPad也是如此。 You probably selected your project as iPhone only, so you do not need iPad resources.
您可能只将您的项目选为iPhone,因此您不需要iPad资源。
If you selected deployment target 7.0, that means that the device needs at least iOS 7.0 installed for your application to run. 如果选择了部署目标7.0,则表示设备至少需要安装iOS 7.0才能运行应用程序。 Because iOS 7 only runs on Retina phones (iPhone 4 and newer), you do not need resources for anything else except Retina (which have the @2x in the name).
由于iOS 7仅在Retina手机(iPhone 4及更新版本)上运行,因此除了Retina (其名称中包含@ 2x)之外, 您不需要任何其他资源 。
You do need resources for normal devices, if you are running on the iPad, because iPad 2 and iPad Mini do not have Retina. 如果你在iPad上运行,你需要普通设备的资源,因为iPad 2和iPad Mini没有Retina。
Hope this explains it. 希望这能解释它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.