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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -