iPhone与iPad开发的区别

本文对比了iPad与iPhone的应用开发,两者使用相同的SDK,但因硬件限制存在差异,如iPad不支持电话和短信功能。此外,苹果为iPad提供了特有的UIKit组件,包括UISplitViewController和UIPopoverController等,以充分利用更大的屏幕尺寸。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 

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

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值