表格细胞的iPhone背景图象

时间:2011-06-22 08:45:25

标签: iphone background-image tablecell

如何清除配件的背景?我已设法将其余元素设置为[UIColor clearcolor],但它不适用于附件......

以下是我的进展情况:

enter image description here

    [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];

感谢您提供任何帮助!

1 个答案:

答案 0 :(得分:0)

你试过吗

cell.accessoryView.backgroundColor = [UIColor clearColor];