ios - Troubles with a cell size of a UICollectionView -
i have cell of uicollectionview size
func collectionview(collectionview: uicollectionview, layout collectionviewlayout: uicollectionviewlayout, sizeforitematindexpath indexpath: nsindexpath) -> cgsize { return cgsize(width: self.view.frame.width / 2 - 10,height: self.view.frame.width / 2 - 10)
but @ run time
storyboard
new!
after scroll view fine
start of array views before scroll
end of array
again start of array views after scroll
thanks. wrong cell ?
Comments
Post a Comment