Do iphone6 and plus when you find a problem, first look at the diagram (all the discussion is done under the real machine, non-simulator)
128*750 picture is [email protected]
1242*192 picture is [email protected]
The reason for the round side is to be able to find the deformation in time. 2x and 3x images are differentiated to see the 2x images below 6 Plus the 3x image.
Add these two images to the images.xcassets (drag them directly in):
All right.
According to the information I have, ip6 the following is the use of the @2x image, Ip6plus with the @3x,deployment target choice of 6.0 (this is now believed that everyone is choosing this, he supports collection view and layout functions).
Run on iphone6 and Plus, such as:
The figure is a bit big, we look at the navigation bar (I use ImageView), the picture seems just a bit wrong (with the picture of @3x), IP6 plus run is right.
At this point the IP6 system is 8.0.2,deployment target selected for 6.0:
Why is it? Google a bit, found the saying:
The red part said the question, Green seemed to give the answer, I tried it in his way:
Select Deployment target As 7.0 (previously 6.0) and run again:
Yes, the picture used is @2x. (If you're selecting deployment target as 6.0, the program is deleted from the machine, and in clean, the result is still wrong.) )
Change the Machine (Iphone6 (of course you can use the other iphone4s, 5, etc.) system is iOS 8.1), from the new deployment target selected as 6.0, run no problem.
So come to a conclusion iOS8.0.1 this place has a small bug, everyone upgrade the system, or the deployment target is selected as 7.0.
For IOS8, you can also refer to one of my other articles:app adaptation ios8,iphone6 and plus brief description, iP6 download for Research (original)
About Iphone6/5/4s read-only @3x pictures in iOS8.0 system