IOS: screen adaptation for iPhone 6 and iPhone 6 Plus, iosiphone6

Source: Internet
Author: User

IOS: screen adaptation for iPhone 6 and iPhone 6 Plus, iosiphone6

The iPhone 6 and iPhone 6 Plus have been on the market for some time. Although the Chinese mainland has not launched the iPhone 6 and iPhone 6 Plus, it is a treasure for the design change and the big screen era of iPhone 6 and iPhone 6 Plus.

Today, we mainly use the xib method below to adapt iPhone 6 and iPhone 6 Plus screens.

1. iPhone 5 resolution 320x568, pixel 640x1136, @ 2x

2. iPhone 6 Resolution 375x667, pixel 750x1334, @ 2x

3. iPhone 6 Plus resolution: 414x736, pixel: 1242x2208, @ 3x, (note: After rendering at this Resolution, the image aspect ratio is reduced by pixel resolution to 1080 p (1080x1920)

I. Code adaptation (tedious and difficult to upgrade)

Code adaptation is not conducive to future expansion. The frame of the empty control is dynamically changed by judging the size of the current screen.

Ii. xib adaptation

In xib, do not select Use Autolayout. Then, the frame of each control is implemented through relative layout .... All in all words...

Good night...


Does iPhone 6 plus disable automatic screen rotation?

You have never used an Apple system! The screen can be locked in the ios system, both in the past and now. In the previous ios 6, you double-click the home Key and pull the bottom menu bar to the left to find the lock button, later, ios 7 is more convenient. You only need to slide up the screen to find the lock button. ios 8 is no different from ios 7 in general, so it must be the same, you can rest assured !!! Hope to adopt it !!!




Which one is better for iPhone 6 and iPhone 6 plus?

This is the case. I have never been familiar with IOS products for many years. 6 and plus, as just released versions, are much larger than the screen, 6 is a little thinner than plus by 0.2mm, and more important than plus by 40g, but the screen pixels of olus are higher than 6. The most important thing is that the standby time of the plus is much longer than 6. In the end, I recommend that the plus be better than the 6. But you also need to select a mobile phone that is more suitable for you ~ The official price is about 6000, but the Chinese mainland is not yet available. Only the Hong Kong version is available in China. Thank you! I hope my answers can solve your problem ~

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.