开发者

Distinguishing between didSelectRowAtIndexPath and accessoryButtonTappedForRowWithIndexPath

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜