在Xcode 5中开发的iPhone应用程序,在iPad上运行时不显示图标和启动图像 [英] iPhone application developed in Xcode 5, not showing icon and launch image while running on iPad
问题描述
我开发了一款iPhone应用程序,它并不普及。现在,当我在任何iPhone上运行时,它会以启动画面启动并且图标图像会在设备上显示但是 -
I have developed an iPhone app, it is not universal. Now when i run it on any iPhone it's launching with splash screen and icon image is getting showed on device but-
当我在iPad上运行相同的应用程序时,它既没有显示启动图像/启动画面也不会在设备上显示图标图像。
when I run same app on iPad neither it is showing the launch images/Splash screen nor it's icon image is visible on device.
我正在使用Xcode 5,部署目标是6.0,应用程序不是通用的。
I am using Xcode 5, Deployment target is 6.0, and app is not universal.
请看一下我所做的图像。
Please have a look of images what i did yet.
Xcode 5中设置图标图像和启动任何iPhone应用程序图像的正确过程是什么,我应该将它设置为iPad吗?
what is the correct process in Xcode 5 to set icon images and launch images of any iPhone app, should i set it for iPad somewhere?
是否因为Retina和Non-Retina Display的图像分辨率(图标/启动)?
Is it because of resolution of images (Icon/Launch) for Retina and Non-Retina Display?
推荐答案
在X-Code 5中,图像资产是管理图像的文件夹,包括图标图像和启动图像,但在我的情况下,管理它我只是检查每个图标图像的分辨率和启动图像,一些图像具有正确的视网膜显示尺寸,但没有适当的分辨率所以我纠正它。
In X-Code 5 image assets is the folder to manage the images including icon images and launch images but in my case to manage it i just check the resolution of every icon image and launch image, some of the images having correct suitable size for retina display but not having proper resolution so i corrected it.
非视网膜分辨率:72
分辨率Retina显示:376
Resolution Non-Retina: 72 Resolution Retina display: 376
图像资源> icon文件夹>当我放置具有正确分辨率和大小的图像时它对我有用ie-
In image assets > icon folder > it worked for me when i put images with correct resolution and size i.e.-
Xcode 5非常智能,可以检查分辨率,因此请确保图像的分辨率,我认为。
Xcode 5 is smart enough to check the resolution so be sure about the resolution of images, I Think.
当我试图在图像资源>启动图像中添加正确的图像时,它还没有工作,所以对于启动图像,我使用旧图案来处理启动图像 -
When i tried to add correct images in image assets > launch image, it didn't work yet so For launch image i used the old pattern to handle Launching image like-
它适用于我的情况,希望它也会帮助其他人。
It worked in my case, Hope It will help others as well.
这篇关于在Xcode 5中开发的iPhone应用程序,在iPad上运行时不显示图标和启动图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!