0

I designed one universal application, I want to set image for all iDevice include 1x, 2x, Retina 4 2x, 3x ? How should I do? and how to set for both landscape and portrait. thank in advanced

user3785958
  • 71
  • 1
  • 1
  • 4

1 Answers1

1

This naming convention will allow you to get the proper images per device:

image@2x iPhone 4/4s
image-568h@2x iPhone 5/5s
image-667h@2x iPhone 6
image-736h@3x iPhone 6+

This article provides some explanation: http://www.reigndesign.com/blog/preparing-for-the-new-iphone-6-and-iphone-6-plus-screen-sizes/

In terms of changing the image per orientations / orientation change, this post seems to do a good job explaining the necessary calls.

Alternative iOS layouts for portrait and landscape using just one .xib file

Community
  • 1
  • 1
Alex
  • 5,298
  • 4
  • 29
  • 34