![](/img/trans.png)
[英]iPhone, can I have a custom UITableView cell and a background image for the table?
[英]iPhone Background Image for Table Cell
如何使附件的背景清晰? 我設法將其余元素設置為[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];
感謝您提供的任何幫助!
你有沒有嘗試過
cell.accessoryView.backgroundColor = [UIColor clearColor];
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.