resize cell.UIImageView.image

前端 未结 4 824
暖寄归人
暖寄归人 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:23

    In case anybody else runs into this with custom cells: it appears that if your custom cell has an outlet named imageView, it will be treated like the image view in a basic-style cell, i.e. the image view's size will be adjusted. Simply picking another name avoids this behavior.

提交回复
热议问题