resize cell.UIImageView.image

前端 未结 4 828
暖寄归人
暖寄归人 2021-01-07 11:02

i have the different image with the different size too, i want to put it in cell.imageView.image in every cell, but i want make same size in every cell although the image ha

4条回答
  •  清酒与你
    2021-01-07 11:15

    I just saw your question. I faced the same problem, and the code worked for me is following:

    cell.imageView.frame = CGRectMake(0, 0, 50, 50);

    Hope, it will solve your problem

提交回复
热议问题