简体   繁体   English

iPhone 3GS和iPhone 4开发之间的区别

[英]difference between developing for iphone 3gs and for iphone 4

我已经为原始iPhone,3G和3GS开发了应用程序,现在我需要为iPhone 4开发应用程序。为iPhone 3GS和iPhone 4开发应用程序有什么区别?

The most noticeable change is the Retina Display and you should include @2x images in your project to support this. 最明显的变化是Retina显示屏 ,您应该在项目中包括@ 2x图像以支持此操作。 Other than that unless you plan on taking advantage of new hardware (gyroscope for example) or the graphics and cpu improvements, there is very little difference. 除此之外,除非您打算利用新硬件(例如,陀螺仪)或图形和cpu改进,否则差异不大。 Also you should reference the SDK Compatibility Guide for tips on maintaining backwards compatibility and/or supporting features available only on certain devices. 另外,您还应参考《 SDK兼容性指南》,以获取有关维护向后兼容性和/或支持仅在某些设备上可用的功能的提示。

The iPhone 3GS uses a 480-by-320-pixel resolution screen where as the iPhone 4 (and 4S) uses a 960-by-640-pixel resolution screen. iPhone 3GS使用480 x 320像素的分辨率屏幕,而iPhone 4(和4S)使用960 x 640像素的分辨率屏幕。

As @Joe says, there is very little other differences. 正如@Joe所说,其他差异很小。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM