适用于iphone 6的Xcode模拟器分辨率(Xcode simulator resolution for iphone 6)

编程入门 行业动态 更新时间:2024-10-23 01:53:27
适用于iphone 6的Xcode模拟器分辨率(Xcode simulator resolution for iphone 6)

当我为一个xcode项目使用iPhone 6的模拟器设置时,屏幕宽度为320.但是,当我将模拟器用于另一个项目时,屏幕显示为375.有没有办法将屏幕宽度从375更改为320 ?

When I use the simulator set for the iPhone 6 for one xcode project the screen width is 320. However, when I use the simulator for another project the screen with is 375. Is there a way to change the screen width back from 375 to 320?

最满意答案

您需要为iPhone 6添加启动图像或添加启动屏幕故事板。 您的应用程序将以iPhone 5分辨率运行,并在较大的设备上进行扩展。

You need to add a launch image for the iPhone 6 or add a launch screen storyboard. Your app will run at iPhone 5 resolution and scale it up on larger devices if you don't.

更多推荐

本文发布于:2023-04-29 02:37:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1334551.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:适用于   模拟器   分辨率   iphone   resolution

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!