[英]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... 我设法将其余元素设置为
[UIColor clearcolor]
但不适用于附件...
Here's what my progress looks like: 这是我的进度:
[self.accessoryView setOpaque: NO];
self.accessoryView.backgroundColor = [UIColor clearColor];
self.backgroundColor = [UIColor clearColor];
self.contentView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"Icon.png"]];
self.accessoryView.backgroundColor = [UIColor clearColor];
Thanks for any help you guys can offer! 感谢您提供的任何帮助!
你有没有尝试过
cell.accessoryView.backgroundColor = [UIColor clearColor];
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.