0

I am new to developing and I am trying to find how to have a different background image for different iphones (4s 5 5s ect...) I did manage to have a background image but its the same in all simulators so it only fits the Iphone 6 plus any ideas on how I could do this?

thank you

1 Answers1

0

If you use xcassets for your ressources :

enter image description here

If you don't you can add one :

enter image description here

You can add your images in an image set specific to devices like below :

enter image description here

You just have to configure the right panel accordingly (selecting device specific and choosing all that you need) :

enter image description here

One drawback : The .jpg support seems to not be compatible with iOS7. Big images in png are... big.

Boris Charpentier
  • 3,515
  • 25
  • 28