iOS screen layouts

Source: Internet
Author: User

screen layouts for 1.iPad and iphone

in IB, the size of a screen or control is measured in points. In retinal technology, 1 points include 4 pixels, and no retina screen technique or 1 dots including 1 pixels.

2. Absolute layout and relative layout

3. Using the AutoLayout layout

i. AutoLayout defines a set of constraints (constraint) for the spatial layout, which defines the relationship between the control and the view.

II. In the constraint property setting of the vertical distance,

Relation: Refers to the relationship between the set distance, including 3 options-equal to, greater than, and less than equals.

Constant: Constraint value.

Priority : The constraint level. A high-level constraint takes precedence when the same constraint acts between two views.

4. Rotate your screen

iOS screen layouts

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.