Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.