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 Playlist Browser with Swift Building the Master and Detail Views Displaying Playlist Information

B Towers
B Towers
1,813 Points

I thought vectors were supposed to scale? Why doesn't the original icon image scale upwards?

In the Images.xassets, both icon and largeIcons for the various images look exactly the same when you click on them and observe the Utilities panel/Attributes inspector.

What gets me is the height/width both say "Any". I even messed around, kept the playlist!.icon and just modified the image view to be Aspect Fit as opposed to top.

And I think in a previous video the instructor said the image would scale since they are vector images, and the aspect fit + regular icon size looks decent, maybe a little blurry, I can't tell.

Is there something hidden with the largeIcon that I can't see?

Nathan F.
Nathan F.
30,773 Points

I'm actually curious about this too. I assume we must instruct the assets to scale. Pasan Premaratne or Amit Bijlani , could you tell us what's going on with the vector images?