IOS multi-size screen adaptation, ios size adaptation

Source: Internet
Author: User

IOS multi-size screen adaptation, ios size adaptation

  • Point
    Point can be understood as the size unit in the eyes of iOS programmers. It is an abstract concept in the iOS operating system.

  • Rendered Pixels can be understood as the size unit in the UI Designer's eye.

  • Physical Pixels device screen hardware Pixel

  • Physical Device name

  • The following figure shows the multiples of the Rendered Pixels to the Point. Values: 1x, 2x, and 3x indicate the multiples of the Rendered Pixels to the Point.
    Before iPhone 4, it was doubled; between iPhone 6 and iPhone 4, it was doubled; after iPhone 6 plus, it was three times.

Point and Rendered Pixels are our concerns. Point is the logical size unit of the screen when developers are Coding, and Rendered Pixels is the size unit of the designer's picture.

Bytes

Note: If you do not adapt, iOS will automatically help you adapt, but it is only a simple scaling, it will cause the UIKit control to be blurred (if an adaptive image is provided, the image will not be blurred ).

  • Background for iOS multi-size screen adaptation

Bytes

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.