ios - Xcode 8: UICollectionView unexpected space -


trying make uicollectonview, when drag it, there's unexpected space above actual view , takes space

screenshot, above red line space

screenshot 18

for collection view set frame or autolayout constraints.

enter image description here

for collection view cell, try following:

this because of either minimumspacing between line and/or cells or sectioninset respect cell size..

try change/update values for:

  • section inset (top and/or bottom)
  • header (height)
  • cell size (height)
  • min space (for lines)

you see changes in space you've in snapshot.

look @ snapshot:

enter image description here


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -