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
.
精彩评论