iOS 5.1 与 Xcode 4.2 和 iPad 3 中的视网膜 [英] iOS 5.1 with Xcode 4.2 and retina in iPad 3

查看:32
本文介绍了iOS 5.1 与 Xcode 4.2 和 iPad 3 中的视网膜的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一台装有 Mac OS X Snow Leopard 的 Mac,我可以向它添加 iOS 5.1 吗?

对于 iPad 3 的新分辨率,我们将如何处理图像,因为如果应用程序将在 iPhone 3GS、4 和 iPad 3 上运行,我认为我们应该有 3 个不同名称的图像,例如 @3x.png 或 ..谢谢.

解决方案

iOS 5.1 附带 Xcode 4.3.1,该版本仅适用于 Lion — Apple 的 iOS 5.1 开发者门户的开发者部分中唯一提供的下载.

基本上,iPad 图像将是您通常为 iPad 创建的图像大小的两倍.例如:

<块引用>

发布图片

iPhone::320 x 480

iPhone @2x: 640 x 960

iPad: 768 x 1004(纵向)、1024 x 748(横向)

iPad @2x: 1536 x 2008(纵向)、2048 x 1496(横向)

每个苹果

<块引用>

为新 iPad 准备好您的应用.

为确保您的 iOS 5 应用针对新 iPad 进行了优化,请查看更新后的 iOS 人机界面指南和 iOS 应用编程指南.

iOS 5.1 的 iOS SDK 发行说明

<块引用>

使用此软件,您可以开发在运行 iOS 5.1 的 iPhone、iPad 或 iPod touch 上运行的应用程序.您还可以使用支持 iOS 5.1 的 iOS 模拟器测试您的应用程序.iOS SDK 5.1 需要运行 OS X 10.7 (Lion) 的 Macintosh 计算机.

命名方案:

这似乎是新 iPad 的新视网膜图形的命名方案.

<块引用>

icon@2x~iphone.png;icon@2x~ipad.png

i have a Mac with Mac OS X Snow Leopard, can i add iOS 5.1 to it?

With the new resolution for iPad 3, how we will do with images, because if the app will run in iPhone 3GS, 4 and iPad 3 i think we should have 3 images with different name like @3x.png or .. thank you.

解决方案

iOS 5.1 comes with Xcode 4.3.1 which is only available for Lion — the only download available in the Developer section on Apple's Developer portal for iOS 5.1.

Basically, the iPad images are going to be double the size of the image you would normally create for the iPad. For instance:

Launch images

iPhone: : 320 x 480

iPhone @2x: 640 x 960

iPad: 768 x 1004 (portrait), 1024 x 748 (landscape)

iPad @2x: 1536 x 2008 (portrait), 2048 x 1496 (landscape)

Per Apple

Get your app ready for the new iPad.

To ensure your iOS 5 apps are optimized for the new iPad, review the updated iOS Human Interface Guidelines and iOS App Programming Guide.

iOS SDK Release Notes for iOS 5.1

With this software you can develop applications that run on iPhone, iPad, or iPod touch running iOS 5.1. You can also test your applications using the included iOS Simulator, which supports iOS 5.1. iOS SDK 5.1 requires a Macintosh computer running OS X 10.7 (Lion).

Naming Scheme:

This seems to be the naming scheme for the new retina graphics for the new iPad.

icon@2x~iphone.png; icon@2x~ipad.png

这篇关于iOS 5.1 与 Xcode 4.2 和 iPad 3 中的视网膜的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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