ios - UICollectionViewCell updating constraints after adjusting layout in code -


i adjusting uilabels , uiimageview's frame in code in uicollectionviewcell fit smaller device sizes can't seem scroll end of uicollectionview. there 2 unreachable cells.

i suspect constraints problem , have tried calling updateconstraints or updateconstraints if needed nothing visible seems happening. make use of autolayout in storyboard.

i think know problem, because changing cells @ runtime, after contentsize been calculated need set manually.

try set collectionviewcontentsize manually , tell me if worked..


Comments