表格单元格的 iPhone 背景图像
怎样才能让饰品的背景清晰呢?我已设法将其余元素设置为 [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];
感谢你们提供的任何帮助!
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 clearColor];
self.contentView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"Icon.png"]];
self.accessoryView.backgroundColor = [UIColor clearColor];
Thanks for any help you guys can offer!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你试过吗
have you tried