Understanding assets
With iPad support, you'll need to think a little about your assets (images). Choose an image that's big and that looks good on the iPad and you risk the compression of your image on smaller devices and also bloating your app unnecessarily.
Choose images that are too small—that might look great on the phone—and they could be susceptible to stretching and start to look grainy and gain artifacts on your iPad.
Around 90% of the time, you can try to find a happy-medium file in size and in resolution. But for the other 10% of the time, you'll need to work around this.
The common approach is to have iPad-specific images in your Assets.xcassets catalog, as I've done here with the placeholder-add-image screenshot:
We can then ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access