The difference between the iphone and the ipad in development

Source: Internet
Author: User
Tags ipad keyboard

The difference between the iphone and the ipad in development 1. Operating system on iphone and ipad
    • Both are equipped with iOS operating systems.
2. Screen size and resolution are different
    • 1.iPhone and ipad have different inches, pixels and dots, and generally only focus on point coordinate systems in development
    • 2.iPhone has 3.5inch,4.0inch,4.7inch,5.5inch, the corresponding point coordinate system is: 320x480,320x568,375x667,414x736
    • 3.iPad has 9.7inch (ipad) and 7.9inch (ipad mini), the corresponding point coordinate system is 768x1024
    • 4. Second ipad Pro 12.9inch, the corresponding point coordinate system is 1024x1366
3.UI elements are arranged and designed differently
    • 1. In general, iphone applications require only vertical screen support, iphone games require only horizontal screen, ipad applications generally require both to support horizontal screen, but also to support vertical screen
    • The 2.iPad screen is larger, he can accommodate more UI elements, so the arrangement is different from the iphone
4.iPhone Keyboard with ipad keyboard
    • ipad Keyboard has an Exit button to exit the keyboard relative to the iphone keyboard
5. Different on the API
    • 1. ipad has its own unique API that can only be used on ipad development
      • Uipopvercontroller
      • Uisplitviewcontroller
    • 2. The API on iphone is available on ipad
    • 3. There is a difference in the display effect of the API shared with the ipad on the iphone
      • iphone Uiactionsheet will pop up from the bottom to make a selection, and default with the Cancel button, if the same code runs on the ipad will pop up from the middle, and there is no Cancel button
6. Screen orientation support is different
    • 1.iPhone above supports 3 directions, does not support the home key upward direction
    • 2.iPad above supports 4 directions
7. Development above the details are different
    • 1. Just develop an ipad project and choose ipad when creating a project
    • 2. If it is necessary to develop the iphone with the ipad, choose Universal
    • 3. Just develop an iphone project and select iphone when creating a project
8. Different Device support applications
    • 1.iPhone can only run iphone app
    • 2.iPad can either run an ipad program or run an iphone program
    • 3. If the iphone program is running on the ipad, it will show in the middle
9.iPhone Development and ipad development process
    • The development process is consistent

The difference between the iphone and the ipad in development

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.