IOS-screen fit-automatic adaptation

Source: Internet
Author: User

Recently the Xcode upgrade to 7, and then is a variety of egg pain problems, there is a screen adaptation of the problem, because my project is older, so, has not been much attention to screen adaptation, are iOS automatic adaptation, which before iOS8 no problem, but after iOS9, this problem appears , after starting the program, there is a black screen on the bottom, found some information, to understand:

Starting with the Xcode6 GM version, the simulator adds the IPhone6 and IPhone6 plus two, and if the old project runs directly into these two simulators, the default is "Compatibility Mode", that is, the system will simply enlarge the content, the display effect is somewhat vague but acceptable. The device resolution and IPhone5 acquired within the app are the same: 320*568 point.

The above method, only before iOS8, if it is iOS9, it needs to add a picture [email protected] so that the automatic compatibility mode can be guaranteed.

Reference: Http://www.tuicool.com/articles/AzYNZf

IOS-screen fit-automatic adaptation

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.