Every product launched by Apple will attract the attention of IOS programmers! Should I adapt again? Should I learn new things again? All kinds of worries are on your mind.
Next, let me talk about my understanding of iPhone 6 and iPhone 6 plus adaptation:
1. First of all, we need to understand that although the resolution of iPhone 6 and iPhone 6 plus has changed dramatically, the screen has become wider and longer, but let's calculate, by comparing their width and height, we found they were.
Let's take a look at the iPhone 5 and 5S resolution comparison, which is also. Are we aware of something? Yes, our adaptation problem is basically solved. The higher the proportion, the higher the width and the higher we are not concerned about.
We can still follow 320.
2. Pay attention to the image problem. We need to make a 3x image for the iPhone 6 plus.
3. In the end, we strongly recommend using storyboard + autolayout or XIB + autolayout technology because Apple does not know how the resolution will change in the future. This will produce unexpected results.
If this article is helpful to you, take a look at my website: Click me
Compatibility between iPhone 6 and iPhone 6 plus