gpt4 book ai didi

iphone - 区分 didSelectRowAtIndexPath 和accessoryButtonTappedForRowWithIndexPath

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

我已经实现了 didSelectRowAtIndexPath 和accessoryButtonTappedForRowWithIndexPath 似乎永远不会触发。但是,didSelectRowAtIndexPath 始终会触发,即使我单击附件也是如此。这两个不应该是排他的吗?

最佳答案

-[UITableViewDelegateaccessoryButtonTappedForRowWithIndexPath:]仅在单元格的accessoryType设置为UITableViewCellAccessoryDe​​tailDisclosureButton时调用。

关于iphone - 区分 didSelectRowAtIndexPath 和accessoryButtonTappedForRowWithIndexPath,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1943183/

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