Is there a way to disable the UITableViewCell from starting the didSelectCellAtIndexPath: delegate, while still maintaining the ability to use the UISwitch, which is in an additional view of this cell.
I know that you can set cell.userInteractionEnabled = NO, this will disable the cell, but also does not allow me to use the switch in the accessory. I know that I could also try to determine which cell was used in the didSelectCellAtIndexPath: method, but since my table view is dynamic and changes depending on what the user is doing, this can become messy.
I am looking for a simple and elegant solution that I could use. Any ideas?
source share