Last Updated: February 25, 2016
·
2.368K
· greensamuelm

Naming iOS Assets in Universal Apps

Stop following Apple's defaults and appending:

_iPhone
_iPad

to your project files. There are file name selectors that make this job effortless! Use the magical tilde instead, and each asset will only be used on the corresponding device. Like this:

~iPhone
~iPad

2 Responses
Add your response

the all-lower-case "~ipad" and "~iphone" works for me.

over 1 year ago ·

the all-lower-case is the correct way to go, otherwise images are not loaded properly on some devices

over 1 year ago ·