Reputation: 3444
In xCode when I specify iPad images I can use syntax like: image~ipad.png
, [email protected]
, etc.
Is there any special designators for iPhone? For example, iPhone 5 - 640x1136
, iPhone 4/4s - 640x960
and iPhone - 320x480.
If not, what is the best way to have different images? Do I need to do this checking in my code?
Thanks
Upvotes: 0
Views: 58
Reputation: 3607
There is a new feature introduced in xcode 5 to manage images in your iOS app in better way. That is Asset catalogs. Learn more about it here Let me know if more info needed. No need to perform any check in code btw :)
Upvotes: 1