针对 iPhone 和 iPhone 4 的开发有何变化?

发布于 2024-10-09 15:50:35 字数 233 浏览 4 评论 0原文

嘿,我正在开发一个 iPhone 应用程序,但我从一些人那里听说这是 iPhone 和 iPhone 4 之间的尺寸差异,如果 iPhone 4 不承诺使用保留显示屏,它将被 Apple 拒绝。

所以我的问题是:我的应用程序需要多大尺寸,因为它不再是 320 x 480。 当该应用程序在较旧的 iPhone 上使用时,它会自动缩小尺寸吗?还是我必须对它做更多的事情?

希望这对你们来说有意义!

先感谢您

Hey, I'm working on an iPhone app but I've heard from some people that it's a size difference between the iPhone and the iPhone 4 and if it's not iPhone 4 committable to use the retain display it will be rejected by Apple.

So my questions is: What size does my app need to be in since it's not 320 x 480 anymore.
And will the app automatically shrink the size down when it's used on an older iPhone or do I have to do something more with it?

Hope this makes sense to you guys!

Thank you in Advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

南风几经秋 2024-10-16 15:50:35

这实际上是一个UI设计问题。幸运的是,苹果公司让开发者可以轻松升级他们的应用程序以适应 iPhone 4 的视网膜显示屏。您所需要做的就是遵循特定的命名约定。

对于项目中的所有 UI 文件(是的,那些 PNG 文件),您应该制作所有这些文件的一组新副本,将高度和宽度加倍(例如 320 x 480 => 640 x 960),并将它们重命名为以下方式:

以上就是全部内容,希望对您有所帮助。

已编辑:有一个例外。图标文件和插图文件。稍微复杂一些。您应该下载 iTunes_Connect_Developer_Guide 并查看相关部分。

It's actually a UI design question. Luckily Apple has made it quit easy for developers to upgrade their apps for iPhone 4's retina display. All you need to do is follow a specific naming convention.

To all your UI files in your project (yes, those PNG files), you should make a new set of copies of all of them, doubling heights and widths (e.g. 320 x 480 => 640 x 960), and rename them in the following way:

And that's all, hope it helps.

Edited: there is one exception. The icon files and the artwork file. It is slightly more complicated. You should download the iTunes_Connect_Developer_Guide and take a look at related sections.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文