ios - Set UIImageView size programatically withing a UICollectionView Cell -


i have uicolleciton view various cells, each cell has uiimageview within cell.

each cell having different size set programatially using simple select case within below override vary size

- (cgsize)collectionview:(uicollectionview *)collectionview layout:(uicollectionviewlayout*)collectionviewlayout sizeforitematindexpath:(nsindexpath *)indexpath 

however i'm trying set uiimageview's size match cell size @ same time (ideally setting x,y in same cell), there can within above method accompany or there override method required?


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -