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 Music Library and Playlist Models Using a Playlist Instance

Breanna Jackson
Breanna Jackson
6,144 Points

Image is the wrong size (too small)

My image looks fine in the Main.storyboard view but when I play my app, the full image isn't the full square, it's only the small portion around the coffee cup.

3 Answers

Marina Alenskaja
Marina Alenskaja
9,320 Points

Hi Breanna

I sounds like you are missing some constraints. Is there a yellow line around the image? And what constraints have you chosen for the image?

Breanna Jackson
Breanna Jackson
6,144 Points

Ya I think it was the constraints. When I continued with the videos and deleted the constraints to add all 6 of the imageViews the issue was resolved.

Thanks for the reply!

Tingting Gu
Tingting Gu
10,760 Points

I think it is because you forgot to add the Width and Height constraints equal to 200.