开发者

what the procedure of display image in particular UItableview(grouped) cell iphone?

开发者 https://www.devze.com 2022-12-25 10:16 出处:网络
what the procedur开发者_高级运维e of display image in particular UItableview(grouped) cell iphone ?Do it like:

what the procedur开发者_高级运维e of display image in particular UItableview(grouped) cell iphone ?


Do it like:

UIImageView *imgView = [[UIImageView alloc] initWithImage:urImage];
[cell setBackgroundView:imgView];
[imgView release];

Hope this helps.

Thanks,

Madhup


The document A Closer Look at Table-View Cells provides in depth explanation and example code. It's worth reading.

0

精彩评论

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

关注公众号