Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Simple iPhone App with Swift Running Apps On a Device Adding an App Icon

Lana Wong
Lana Wong
3,968 Points

If you were to make your own digital drawing, how would you know how to create the sizes?

Hi,

How do you create the different sizes on another image for the app icon? Thanks

Lana

2 Answers

Rodrigo Mayer
Rodrigo Mayer
2,731 Points

Hi Lana,

I would first create a high-res icon and then scale it down.

For example, the iPhone App images, which are 60pt@2x and @3x: I could create an image with 180x180px (that's 60px@3x -> 60*3 = 180) and then scale it down to 120x120px.

You can see more at Apple's Human Interface Guidelines: https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/image-size-and-resolution/

s t
s t
2,699 Points

Hi Lana,

This link provides the information you need to create different sizes.

https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/custom-icons/

Good luck!