iOS adaptation screen

Source: Internet
Author: User

Standard practice: Auto layout

Which: You can also use code to Judge 1, if not hardcode, and how will not be compatible with it. 2, if you write all 320*480 is also compatible 3, write 320 well is hardcode AH. 4, I found that many applications have not yet adapted to the big screen, are magnification mode 5, sizes class is good 6, the former with Al now at least fit the SC can be 7, so that code code must be eliminated HardCode Note: SB + Al is a trend. Reduce the amount of development of the ipad and iphone overall view strategy is different, the iphone is the push multi-IPad is popover many simultaneous introduction use constraint (Automatic layout), at first will not be used to, then will feel good cool. now more than a lot of things, local, pop-up box this or to hand-written (this), the original words pop-up box can be directly with the VC to process a screen to the second VC as the background.

iOS adaptation screen

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.