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! While you're at it, check out some resources Treehouse students have shared here.

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

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

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/

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!