如何正确添加这三个文件?“Default.png, Default-568h@2x.png, Default@2x.png"适用于 iPhone/iPad 的通用应用程序? [英] How to add these three files properly?"Default.png, Default-568h@2x.png, Default@2x.png" for universal app for iPhone/iPad?

查看:29
本文介绍了如何正确添加这三个文件?“Default.png, Default-568h@2x.png, Default@2x.png"适用于 iPhone/iPad 的通用应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的启动图像通用项目中添加了Default.png, Default-568h@2x.png, Default@2x.png"这三个文件,我有三个不同的图像,分辨率与苹果中提到的完全相同文档,适用于 iPad 768 * 1024 ,适用于 iphone-4s -> 320 * 480 ,适用于 iphone 5-> 640 * 1136.

I added "Default.png, Default-568h@2x.png, Default@2x.png" these three files in my universal project for splash image, I have three diffrent image and the resolution exactly the same as mention in apple docs, for iPad 768 * 1024 , for iphone-4s -> 320 * 480 , for iphone 5-> 640 * 1136.

但我的问题是,当我在 iphone4s-iphone5 上朗姆酒时,飞溅朗姆酒正常,但是当我在 Ipad 上运行时,Deafault.png 飞溅没有显示,而不是参考 Default-568h@2x.png.默认 568h@2x.png 显示在 iPad 上而不是 Deafault.png 并且图像在 ipad 上也变得模糊和缩小,因为 Deafault.png 没有显示.如何解决这个问题.

But my problem is that when I rum on iphone4s- iphone5 the splash rum properly, but when I run on Ipad the Deafault.png splash not showing instead of it takes reference from Default-568h@2x.png. The Default-568h@2x.png is showing on the iPad instead of Deafault.png and the image got blur and shrink on ipad also, beacuse Deafault.png not showing. How to slove this problem.

非常欢迎专家的任何想法或建议.

Any Idea or suggestion from experts would be highly welcome.

推荐答案

  1. 首先,我想建议,
  2. 准备所有图像,
  3. 从项目导航器中选择项目并转到摘要并向下滚动屏幕出现,然后右键单击它并从您的文件中选择文件电脑它会自动复制到项目并进入在 plist 文件中也..
  4. 如果您的应用程序是通用的,那么您有为 iPhone 和 iPad 设置.`

这篇关于如何正确添加这三个文件?“Default.png, Default-568h@2x.png, Default@2x.png"适用于 iPhone/iPad 的通用应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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