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 trialTom Davis
1,796 PointsOther Playlists' Images Not Spaced Right
Playlists 1 and 2 have images that load fine in the details view of the playlist. However, the other 4 have images that seem too far up on the screen.
The video tutorial skips showing these 4 working so I don't know if it's me or the tutorial code that causes this.
3 Answers
Jeffrey Kempster
14,738 PointsIf you take a look at the images, you can see some white space at the top of both the shoe and the coffee. There is no space above the other images. I think this is why some of the icons are way up at the top.
Stu Cowley
26,287 PointsHey Tom,
No doubt you would've figured this out by now, but I'll still post up how I fixed this problem. After spending 20 minutes going over the original project in the downloads, I discovered that if you select the image view and then go into the Attributes Inspector then under the View heading and then Mode, select Center from the dropdown list it fixes the issue and all the playlist album covers position as expected.
agreatdaytocode
24,757 PointsHi Tom,
Same thing happened to me. If you open up size inspector in the Main.storyboard file you can edit the constraints and set the bottom space to 2.