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];
精彩评论