gpt4 book ai didi

iphone - 如何使 UITableViewCell 附件公开指示器在黑色背景中可见?

转载 作者:行者123 更新时间:2023-12-03 18:34:46 25 4
gpt4 key购买 nike

cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;

在这个方法中

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath;

但我只能在选择该单元格时看到它,否则它不可见。并且当背景为白色时它可以完美工作。我确信我需要设置一个属性,但我不知道需要更改哪个属性才能使此功能正常工作。

提前致谢。

干杯。

最佳答案

我遇到了同样的问题,只需使用以下您可以随意复制的仓促模拟图形从 UIView 的 imageWithName @"AccDisclosure.png"创建一个 UIImageView:http://thinkingman.com/db/downloads/AccDisclosure.png (如果您只是单击该链接,您可能什么也看不到,因为它是具有透明背景的白色图像,但如果您保存它并在深色背景下查看,您将看到 Alpha)。

关于iphone - 如何使 UITableViewCell 附件公开指示器在黑色背景中可见?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/249010/

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