IOS Xcode6 AutoLayout with size Classes (5) Size Classes screen rotation app

Source: Internet
Author: User

Z later an introduction sizeclasses. Get a Play page this time. will be rotated and then re-laid.

Create a view as follows:


And then use automatic layout to constrain it.

The vertical screen is almost like this.


Then we'll make the horizontal screen.

It's almost like this after the constraint.



Then look at the effect of converting the screen orientation

Vertical screen:


Horizontal screen


Here's why the size of 6 Plus is explained. Because I chose the horizontal screen in front of the time selected W:regular H:compact so this size is suitable for 6plus, other words are not

IOS Xcode6 AutoLayout with size Classes (5) Size Classes screen rotation app

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.