开发者

How can I remove a cell.imageView?

开发者 https://www.devze.com 2023-04-05 22:12 出处:网络
I\'m wondering why I didn\'t found anything about removen a imageView wit开发者_如何学运维hin a cell completely. I\'ve worked with the hidden-property, but the area of the image before is still there,

I'm wondering why I didn't found anything about removen a imageView wit开发者_如何学运维hin a cell completely. I've worked with the hidden-property, but the area of the image before is still there, so I can not overwrite it completely.

Is there a simple way of removing an cell.imageView completely?

Maybe it is a simple question, but I didn't found a solution so far :-/


Have you tried [cell.imageView removeFromSuperview]; ?

or if you want to just remove the image:

cell.imageView.image = nil;
0

精彩评论

暂无评论...
验证码 换一张
取 消