`
mmdev
  • 浏览: 12926118 次
  • 性别: Icon_minigender_1
  • 来自: 大连
文章分类
社区版块
存档分类
最新评论

iPhone与iPad开发的区别

 
阅读更多

<!-- p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Calibri} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Calibri; min-height: 17.0px} p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Helvetica} p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Helvetica; min-height: 19.0px} p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px} p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica} p.p7 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; color: #1d37ef} span.s1 {color: #000000} span.s2 {text-decoration: underline} -->

iPad and iPhone have some difference, I have summarized that in below:

iPad and iPhone use the same SDK to develop, and iPad have not all the feature of iPhone. eg, Call, send SMS, iPad1 have no camera. So iPad can't use these features that hardware limited in development.

And there are only a little difference in the development between iPad and iPhone. Apple have some UIKit only support for iPad, because it's bigger screen. For example:

1. UISplitViewController. It's a container view controller that manages the presentation of two side-by-side view controllers. Detail see reference: B

2. UIPopoverController. It is used to manage the presentation of content in a popover.Detail see reference: B

3. Window presentation style. In iPhone app, Modally presented views always cover the visible portion of the window, but on the iPad, view controllers use the value in their modalPresentationStyle property to determine appearance when presented modally.Detail see reference: C

Because the screen bigger than iphone, so on the iPad UI design, these is a pop up Model view concept.

Except above, And others are the same in development.

Reference:

A:http://developer.apple.com/iphone/prerelease/library/releasenotes/General/WhatsNewIniPhoneOS/Articles/iPhoneOS3_2.html#//apple_ref/doc/uid/TP40009337-SW1

B:http://developer.apple.com/library/ios/#featuredarticles/ViewControllerPGforiPhoneOS/iPadControllers/iPadControllers.html

C:http://developer.apple.com/library/ios/#featuredarticles/ViewControllerPGforiPhoneOS/ModalViewControllers/ModalViewControllers.html

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics