UITableViewCell's imageView fit to 40x40

前端 未结 7 1786
离开以前
离开以前 2020-12-04 16:14

I use the same big images in a tableView and detailView. Need to make imageView filled in 40x40 when an imags is showed in tableView, but stretched on a half of a screen. I

相关标签:
7条回答
  • 2020-12-04 16:41

    Try setting UIImageView.autoresizesSubviews and/or UIImageView.contentStretch.

    0 讨论(0)
提交回复
热议问题