iPhone與iPad開發的區別

來源:互聯網
上載者:User

 

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

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.