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
Aaron Watkins
10,902 PointsUICollectionView clipping off bottom cell(s)
Hi,
I have a UICollectionView - it loads just fine content-wise, but for some reason the bottom cell is cut off. A weird hack I have done is to shorten the height of the UICollectionView in the Storyboard. This magically allows the last cell to load, but this doesn't seem like the right fix. Is there something I should be looking for in Auto Layouts or Constraints (I am using Auto Layouts, but not don't have any constraints). Please let me know if you need any other information to help get an idea of the problem. Any help is appreciated. Thanks.
1 Answer
Sam Soffes
Treehouse Guest TeacherTry setting a breakpoint and then po your collection view to see it's frame. My guess is it's taller than the screen. Try adjusting your Auto Layout code or positioning it another way.