简体   繁体   English

从1080 * 1920更改为640 * 960分辨率

[英]Changing from 1080*1920 to 640*960 Resolution

I'm designing an app for the iPhone using 1080px X 1920px with 401 ppi 我正在为使用1080px X 1920px和401 ppi的iPhone设计一个应用程序

The question: I'd like to adjust the resolution to iPhone 4S & iPhone 5 &iPhone 5S and also for the different iPads. 问题:我想将分辨率调整到iPhone 4S,iPhone 5和iPhone 5S以及不同的iPad。

I tried to create a new document using the correct resolutions but it looks nothing like the 6 Plus design. 我试图使用正确的分辨率创建一个新文档,但看起来与6 Plus设计完全不同。

What is a good way to adjust resolutions? 调整分辨率的好方法是什么?

Thanks in advance! 提前致谢!

You can't. 你不能 You have to adapt it. 您必须适应它。 For iPhone 5,5s,6,6+ if you divide width/hight=aproximate 0,55 so you can scale but for iPhone 4 you have to do different design because it won't fit or use tables and scrollview to fit all your content 对于iPhone 5,5s,6,6 +,如果您除以width / hight = 0.55左右即可进行缩放,但对于iPhone 4 ,则必须进行不同的设计,因为它不适合使用或使用表格和scrollview来适合您的所有内容

As for the iPad you should also do another design, as you have much space and you can fit more content inside it but between different iPads resolution, you can use same design for all because they have same screen ratio 至于iPad,您还应该进行另一种设计,因为您有很大的空间并且可以在其中容纳更多内容,但是在不同iPad分辨率之间,您可以对所有设计使用相同的设计,因为它们的屏幕比例相同

This is a very common dilemma, and a good question, but possibly too broad! 这是一个非常普遍的难题,是一个很好的问题,但可能范围太广!

Designing adaptive user interfaces (something that will work at multiple resolutions on multiple screens) is important, because it allows easy porting from one device to another. 设计自适应用户界面(可以在多个屏幕上以多种分辨率工作的界面)非常重要,因为它可以轻松地从一台设备移植到另一台设备。

I can't answer to specifically without more information about your situation, however. 但是,如果没有您的情况的更多信息,我将无法做出具体答复。 Here are some resources though: 不过,这里有一些资源:

https://developer.apple.com/library/ios/recipes/xcode_help-IB_adaptive_sizes/chapters/AboutAdaptiveSizeDesign.html https://developer.apple.com/library/ios/recipes/xcode_help-IB_adaptive_sizes/chapters/AboutAdaptiveSizeDesign.html

http://www.applicoinc.com/blog/create-one-size-fits-app-ios-ios-8s-adaptive-ui/ http://www.applicoinc.com/blog/create-one-size-fits-app-ios-ios-8s-adaptive-ui/

https://developer.apple.com/design/adaptivity/ https://developer.apple.com/design/adaptivity/

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

相关问题 如何处理与游戏相关的分辨率变化320x480 => 640x960 - How to handle resolution change 320x480 => 640x960 related to gameplay 如何使ios应用程序在iPad上仅使用960 x 640分辨率? - How to make ios app use only 960 x 640 resolution on iPad? 如何从iPad启用1920x1080外接显示器? - How do I enable 1920x1080 External Display from my iPad? 如何在IOS中保存或导出640 x 640分辨率的视频? - How to save or Export the video with 640 x 640 resolution in IOS? 当我们放置两个尺寸为640 x 960和640 x 1136的喷溅时,不需要自动布局 - No Autolayout needed when we put two splashes of 640 x 960 and 640 x 1136 dimension iPhone如何为640X960和320X480分辨率构建UI? - Iphone how to build UI for both resolutions 640X960 and 320X480? 使用CCRenderTexture的快照将返回320x480的图像,而不是640x960 - snapshot with CCRenderTexture returns 320x480 image and NOT 640x960 以640x960而不是320x480渲染iPhone 4 Web应用程序? - Render iPhone 4 web app at 640x960 instead of 320x480? canSetSessionPreset:AVCaptureSessionPreset1920x1080在iOS4中导致“访问错误” - canSetSessionPreset:AVCaptureSessionPreset1920x1080 causes 'Bad Access' in iOS4 如何将 iOS App Preview 视频放大到 1080 x 1920? - How do I upscale an iOS App Preview video to 1080 x 1920?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM