5

I have set the three image for the @2x @Retina 4 and @3x.

enter image description here

When i run the app i got the following result.

  1. iPhone 4s : twitter image
  2. iPhone 5 : Google image
  3. iPhone 6+ : facebook image.
  4. iPhone 6 : twitter image

everything is good. but when I run on the iPhone 6 its taking the twitter image but it should take the google image.

Is this bug of xcode?

Sunny Shah
  • 12,990
  • 9
  • 50
  • 86

2 Answers2

2

In iPhone 6 you will get the image which is of @2x In iPhone 5 and 5s you will get the image of Retina 4 @2x.

Check this example image I have set here. enter image description here

Result in iPhone 5

enter image description here

Result in iPhone 6

enter image description here

but in iPhone 4 and iPhone 6 you will get same image. For this time you have to code for different devices. Because apple does not provide the document for it. by the time if I got something new then I will post here.

Thanks!

Community
  • 1
  • 1
Ashish Kakkad
  • 23,586
  • 12
  • 103
  • 136
1

This is ridiculous from apple.

There is no any specific place where you can put the iPhone 6 images. you have to do with the condition.

Sunny Shah
  • 12,990
  • 9
  • 50
  • 86
  • It is ridiculous! Because 1334/750 is about 1.778, which is close to 1136/640 = 1.775 while 960/640 = 1.5. My 640*1136 pictures do show properly on iPhone 6 while 640*960 pictures are distorted. – Qiulang Nov 09 '15 at 02:39