gpt4 book ai didi

iphone - 如何将附件 View 背景设置为与 UItableViewCell 中的内容 View 相同的背景?

转载 作者:行者123 更新时间:2023-12-01 18:32:02 25 4
gpt4 key购买 nike

我已经成功地将表格 View 单元格的背景更改为我的应用程序中的图像,但它没有扩展到附件 View 的背景。有什么办法解决这个问题吗?

感谢您的帮助,

斯蒂芬妮

最佳答案

cell.textLabel.backgroundColor = [UIColor clearColor];
cell.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"bg-Cell-Image.jpg"]];

如果您仅使用单元格的文本标签来显示内容,请尝试这种方式

关于iphone - 如何将附件 View 背景设置为与 UItableViewCell 中的内容 View 相同的背景?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7872944/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com