Resolution and pixels Verified by the new Xcode6 simulator (resolution is pt, pixels are real pixels):
PaintCode made several pictures to explain it very clearly. Automatic adaptation If not processed, it will be automatically stretched in equal proportions. If you print the screen frame in the old project, it will still be Because of the stretching, there will be some blur. The navigation bar is obviously larger than 64, but it is still much better than the 3.5-inch to 4-inch black border. In addition to changing the startup image, I have to say that you can use a However, this xib cannot be associated with any code (cannot customize the View Class, cannot IBOutlet, cannot add Object), which can be understood as this xib is a screenshot. The advantage of this solution is that About manual adaptation As long as you manually specify the startup image or the xib, the screen resolution will become the expected size. All the codes in the old code that hard-code the frame value will be out of luck. If you adapt manually, you have to adapt everything. It is recommended not to make any changes before finding a feasible solution . The automatic adaptation solution does not affect the usage. Facing iPhones with 4 resolutions, it is recommended to use About Xcode 6
|
<<: Android image smooth scrolling component Glide
>>: Microsoft complains about Android phones: Stuck in the air
This article mainly introduces some important con...
Apple spared no effort to solve the production ca...
The scientific expedition team drilled ice cores ...
Introduction: With the rise of mobile Internet, A...
How did a newbie who had just arrived complete mo...
Since its release on January 29, "Nezha 2&qu...
A few days ago, a notice about "mask subsidi...
Source code introduction Often we need to filter ...
According to recent news, the China Association o...
After a week of hard work, how do you plan to tre...
Christmas is coming soon. If nothing unexpected h...
If you evaluate it in one sentence The plot of th...
A huge amount of high-quality content, unique fan...
A concise and elegant iOS project directory can h...
Introduction to Flink in-depth deployment of adva...