开发者

Add UIImage Overlay to a UITableViewCell's imageView.image

I have a mainly transparent image which I would like to add as an overlay to a UITableViewCell's imageView.image.

开发者_C百科

However I don't know how to do this. Do I need to merge the images? Or can I just add one on top of the other?

If you could provide code on this matter, that would be great!


I managed to work it out:

[cell insertSubview:[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"ListViewAlbumOverlay.png"]] belowSubview:cell.imageView];
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜