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

matlab - How to equate a structure array to structure array -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -