when scrolling direction horizontal cells added in uicollectionview
top bottom
for scrolling direction = vertical, added left right.
the question is, if there way add cells left right when scrolling direction horizontal ?
you need use uicollectionviewflowlayout
, set scrolldirection
property to
flowlayout.scrolldirection = uicollectionviewscrolldirectionhorizontal;
default setting is vertical (top bottom)
Comments
Post a Comment