如何清除配件的背景?我已设法将其余元素设置为[UIColor clearcolor]
,但它不适用于附件......
以下是我的进展情况:
[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];
感谢您提供任何帮助!
答案 0 :(得分:0)
你试过吗
cell.accessoryView.backgroundColor = [UIColor clearColor];