2021年4月24日星期六

UimageView in UITabbleViewCell the frame not right

I try to set imageView cornerRadius ,but the frame not right until tap cell or scroll (0.0, 0.0, 158.0, 413.0) (0.0, 0.0, 158.0, 413.0) (0.0, 0.0, 158.0, 413.0) (0.0, 0.0, 96.0, 120.0) (0.0, 0.0, 96.0, 120.0) (0.0, 0.0, 96.0, 120.0) (0.0, 0.0, 96.0, 120.0) (0.0, 0.0, 96.0, 120.0) (0.0, 0.0, 96.0, 120.0) (0.0, 0.0, 96.0, 120.0) I use auto layout

before tap cell

after tap cell frame update

https://stackoverflow.com/questions/67249111/uimageview-in-uitabbleviewcell-the-frame-not-right April 25, 2021 at 10:07AM

没有评论:

发表评论