UITableViewCell imageView padding

后端 未结 4 599
-上瘾入骨i
-上瘾入骨i 2021-01-12 07:22

I would like to set up margins or paddings for UITableView cells imageView, how could I do that? With heightForRowAtIndexPath I can only set rows height. And it

4条回答
  •  醉梦人生
    2021-01-12 07:32

    updated for swift3

    cell?.imageView?.transform = CGAffineTransform(scaleX: 0.6, y: 0.6)
    

提交回复
热议问题