iOS Development UI Chapter-ipad and iphone development comparison

Source: Internet
Author: User
Tags ipad keyboard

I. Introduction of ipad

1. What is an ipad

A tablet from Apple's 2010 release

Locate between Apple's smartphone iphone and laptop products

Like the iphone, it's powered by an iOS OS

  

Market conditions for 2.iPad

As of October 23, 2013, the ipad has sold 170 million units

Up to 81% share in the tablet market

Second, about the iphone and ipad

Description: iphone is a mobile phone, ipad, ipad mini is a Tablet PC

The difference between iphone and ipad development

Screen size \ Resolution

Layout \ design of UI elements

Keyboard

Api

Support for screen orientation

With:

(1) screen size \ Resolution

  

In iOS development, there are only a few things to focus on:

Iphone

3.5 inch:320 x 480

4.0 inch:320 x 568

ipad, ipad Mini

9.7 inch, 7.9 inch:768 x 1024

(2) Layout of UI elements \ Design

Because the ipad screen is larger than the iphone, it can accommodate more UI elements, so the arrangement is different

such as Sina Weibo: (left image is the iphone, the right image of the ipad)

  

(3) keyboard

ipad's virtual keyboard has a button to exit the keyboard

The image on the left is the iphone keyboard and the ipad keyboard on the right

  

(4) ipad-specific API

The ipad has a number of unique classes, such as:

Uipopovercontroller (left)

Uisplitviewcontroller (right image)

(5) Differences in common APIs

Some APIs are available on both the iphone and ipad, but the display is different, such as Uiactionsheet (iphone on the left, ipad on the right)

  

(6) Screen orientation support

  

(7) Screen support

In general, the iphone app is a screen orientation, either vertical or horizontal (game)

Second, Apple's official recommendation: The ipad app is best to support both horizontal and vertical screens

  

Iii. details of development

1. Create a new ipad app

  

2. Device-Supported applications

iphone app can only be run on iphones

ipad can run iphone \ ipad Program

3. Development process

The process of iphone and ipad development is consistent

All the knowledge learned in the iphone development is basically available on ipad

iOS Development UI Chapter-ipad and iphone development comparison

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.