iPhone Background Image for Table Cell
How can I make the background of the accessory clear? I've managed to set the rest of the elements to [UIColor clearcolor]
but it doesn't work for the accessory...
Here's what my progress looks like:
[self.accessoryView setOpaque: NO];
self.accessoryView.backgroundColor = [UIColor clearColor];
self.backgroundColor = [UIColor clea开发者_运维问答rColor];
self.contentView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"Icon.png"]];
self.accessoryView.backgroundColor = [UIColor clearColor];
Thanks for any help you guys can offer!
have you tried
cell.accessoryView.backgroundColor = [UIColor clearColor];
精彩评论