gpt4 book ai didi

ios - 使用一些 UITableViewCell

转载 作者:行者123 更新时间:2023-11-29 04:05:51 25 4
gpt4 key购买 nike

如何选择多个UITableViewCell(作为复选标记,但具有我自己的风格),然后对所选项目执行某些操作?

作为复选标记(或其他东西),我想使用UIImageView:

enter image description here

最佳答案

添加到Pandu1251's answer ,如果您想使用自己的复选标记图像,您可以设置自定义附件 View 并遵循他指定的相同逻辑。

要设置自定义附件 View ,请使用

cell.accessoryView = myAccessoryView; //myAccessoryView is a UIImageView holding your custom check mark image

关于ios - 使用一些 UITableViewCell,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15245160/

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