iPad 3 Retina Display,@ 2x图像以及商店中已有的应用程序 [英] iPad 3 Retina Display, @2x images, and apps already in the store

查看:109
本文介绍了iPad 3 Retina Display,@ 2x图像以及商店中已有的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此未来的一些iPad可能会有Retina Display。 Apple最有可能坚持@ 2x范例。我一直期待这一段时间,所以我已经在我的应用程序中拥有适用于iPad的@ 2x艺术品;有些已经在应用程序商店中。

So some iPad in the future is probably going to have Retina Display. And Apple is most likely going to stick to the @2x paradigm. I've been expecting this for awhile and so I already have @2x artwork for iPad in my apps; some are already in the app store.

我的问题是:我需要重新编译和/或重新提交应用程序,以便在发布此神秘iPad时使用所述艺术作品利用这些文件?或者这是否已经融入操作系统本身并且它应该只是自动使用它们?

My question is this: Will I need to recompile and/or resubmit apps to use said artwork when this mythical iPad is released for it to take advantage of these files? Or is this something baked into the OS itself and it should just automagically use them?

(因为之前发生了同样的事情,所发生的事情是在预先发布的情况下发布的碰巧有正确艺术品的iPhone-4 SDK?它们刚刚起作用吗?)

(Since the same thing happened before, what happened w/ apps released under the pre-iPhone-4 SDKs that happened to have the right artwork? Did they just work?)

推荐答案

我今天试用了一个视网膜iPad ,这就是似乎发生的事情:

I experimented with a retina iPad today, and here's what seems to happen:


  • 如果应用程序是使用合理的最新Xcode(可能是4.2+)编译的,那么@ 2x图像是使用,就像iPhone 4出来时一样。

  • 如果应用程序是使用Xcode 3编译的,则@ 2x图像,即使存在也是如此。 (例如,在支持iphone-4的混合应用中。)

  • If an app is compiled with a reasonably recent Xcode (probably 4.2+), @2x images are used, just like when the iPhone 4 came out.
  • If an app was compiled with Xcode 3, @2x images are not used, even if present. (e.g. in an iphone-4-capable hybrid app.)

(我们有许多基于XCode-3的项目,很多它们是视网膜iPhone的混合体。它们都没有在新的ipad上使用@ 2x图形。当我在Xcode 3和Xcode 4中编译测试项目时,4版本使用了视网膜资源而3版本没有。实验表明差异被编译成可执行文件本身,所以它不仅仅是我希望的info.plist调整。)

(We have a number of XCode-3 based projects, many of which are hybrid for the retina iPhone. None of them used the @2x graphics on the new ipad. When I compiled a test project in both Xcode 3 and Xcode 4, the 4 build used the retina resource and the 3 build did not. Further experiments showed that the difference is compiled into the executable itself, so it's not just a info.plist tweak like I was hoping.)

[eta。:我的假设是使用早期SDK进行编译会在运行时将您链接到不同版本的UIKit。我更新代码时行为的奇怪差异似乎证实了这一点。如果有人知道肯定知道咒语,请发表评论。]

[eta.: my hypothesis is that compiling with an earlier SDK links you against a different version of UIKit at runtime. Strange differences in behavior as I update our code seem to bear this out. If anyone knows the incantation to know for sure, please comment.]

这篇关于iPad 3 Retina Display,@ 2x图像以及商店中已有的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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