开发者

Distinguishing between didSelectRowAtIndexPath and accessoryButtonTappedForRowWithIndexPath

开发者 https://www.devze.com 2022-12-14 09:55 出处:网络
I\'ve implemented didSelectRowAtIndexPath and accessoryButtonTappedForRowWithIndexPath never seems to fire. However, didSelectRowAtIndexPath always fires, even when I click the access开发者_如何学JAVA

I've implemented didSelectRowAtIndexPath and accessoryButtonTappedForRowWithIndexPath never seems to fire. However, didSelectRowAtIndexPath always fires, even when I click the access开发者_如何学JAVAory. Shouldn't these two be exclusive?


-[UITableViewDelegate accessoryButtonTappedForRowWithIndexPath:] is only called when the accessoryType of the cell is set to UITableViewCellAccessoryDetailDisclosureButton.

0

精彩评论

暂无评论...
验证码 换一张
取 消