Changing bounds of imageView of UITableViewCell

前端 未结 5 817

I\'m trying to place various size images inside imageView of UITableViewCell. I get the image data asynch\'ly, create the image, set the content mode of imageView and finall

5条回答
  •  醉梦人生
    2020-12-13 16:47

    try changing the "contentMode" property of imageView to 'UIViewContentModeScaleAspectFit' or 'UIViewContentModeScaleAspectFill'

提交回复
热议问题