gpt4 book ai didi

ios - 单元格的 UITableView 处理程序将隐藏

转载 作者:搜寻专家 更新时间:2023-10-31 08:19:59 24 4
gpt4 key购买 nike

UITableViewDelegate 有一个方便的功能,willDisplay .

我需要为单元格隐藏时添加一个处理程序,这实际上与 willDisplay 相反。如何检测此事件?

最佳答案

您要使用的方法是

func tableView(_ tableView: UITableView,
didEndDisplaying cell: UITableViewCell,
forRowAt indexPath: IndexPath)

Documentation

关于ios - 单元格的 UITableView 处理程序将隐藏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40492340/

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