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

Playlist App - Placeholder size changes at runtime

Hi there,

Quick question on the iOS course:

I have a interesting problem -> in Xcode I set the constraints for height, width and left and top margin for the placeholder view and it looks as supposed, but when I run the app in the simulator for iPhone 6 the height gets cut for about 30px.

Why does it happen?

Screenshot

1 Answer

Figured it out.

Erased all the constraints, set the width and height constraint, aligned placeholder to center vert and hori. Did the job :D