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
How to optimize the effectiveness of advertising,...
Recently, a video of Nanpu Bridge went viral onli...
What is the most common thing people do in a day?...
According to foreign media reports, BMW Chief Fin...
As spring arrives and the temperature rises, many...
Zhang Xiaolong said: Even the smallest individual...
In the blink of an eye, 2016 is already halfway t...
Recently, according to the automotive news websit...
WeChat Mini Program is an application that users ...
Do you know where the formaldehyde in your home c...
The story begins in the late 19th century in the ...
Geely recently released the official photos of th...
Before I start sharing how to build a traffic cir...
Like moving house or getting married, launching a...
Ownership and registration data collected by mark...