Cell Accessory does not trigger event attached to the ViewCell GestureRecognizer.

I have a TableView where I am displaying ViewCell items using a Renderer to set the cell.Accessory to a UIKit.UITableViewCellAccessory.DisclosureIndicator.

I add TapGestureRecognizer to the ViewCell to respond to User Click/Selection.

It works great.

The only problem is that the Accessory Button does not trigger the TapGestureRecognizer. If you click on the Left Side of the ViewCell, everything works, if you click on the cell.Accessory the event is not triggered.

My code is based on a solution I found on GitHub.

I have attached a screenshot. Clicking anywhere in the circled area is ignored. It changes appearance the same way regardless of where I click to show it is being clicked, but no event.

Does anyone have any input?

Sign In or Register to comment.