2

I don't know how this happened, but my UICollectionViewCell somehow moved down from the top, and I can't pull it back up. Also, the Y position in the interface builder is locked at 64, see screenshot.

Image

Any help would be awesome. Than you!

Carlo
  • 25,602
  • 32
  • 128
  • 176

1 Answers1

8

In your ViewController, under the attributes inspector, uncheck the "Adjust Scroll View Insets" box.

adjust scroll view insets

This is also answered in depth here: UICollectionView adds top margin

Community
  • 1
  • 1
cousinmayan
  • 351
  • 4
  • 4