本文介绍了iOS应用发布,图像分辨率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个简单的单视图iOS应用.我有一张要用作整个背景的图像.目前,我已经为人像和照片编辑了图像.景观(标准(414 X 736)&适用于iPhone 6的视网膜(1242 X 2208).

I have a simple, single view iOS app. I have an image which is to be used as the full background. Currently, i have edited the image for both portrait & landscape, in standard (414 X 736) & retina (1242 X 2208) for iPhone 6.

当我使用iOS模拟器时,所有设备(4s> 6 plus)的背景看起来都很好.但是我不确定在启动/发布时是否会坚持下去.

When i use iOS simulator, the background appears fine in all of the devices (4s > 6 plus). However i'm unsure about if this will hold out when launched/released.

我是否需要为最终应用中的每台设备提供所有不同分辨率的图像?

Do i need to provide the image in all different resolutions for each device in my final app?

例如imagePortrait4s.png,imagePortrait5.png,imagePortrait6.png,imagePortrait6plus.png等

e.g imagePortrait4s.png, imagePortrait5.png, imagePortrait6.png, imagePortrait6plus.png etc

推荐答案

由于您的图片必须与启动图片大小相同,因此最好的选择是遵循以下要求: iOS人机界面指南-图标和图像尺寸

Since your image needs to be the same size as a launch image, your best bet is following the requirements for those: iOS Human Interface Guidelines - Icon and Image Sizes

由于文档并未说明为iPhone 6提供较大的图像足以为较旧的电话提供良好的启动图像,因此,假设您为iPhone 4s需要640 x 960的图像.

Since the documentation does not state that providing the larger images for the iPhone 6 is sufficient to provide a good launch image for older phones, assume you need a 640 x 960 image for the iPhone 4s.

这篇关于iOS应用发布,图像分辨率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 20:51