ios - didSelectRowAtIndexPath not called in subclassed UITableView -


i have subclassed uitableview can detect when 3d touch gestures performed anywhere on view. works great, didselectrowforindexpath never called.

here subclass:

protocol passtouchestableviewdelegate {     func touchmoved(touches: set<uitouch>)     func touchended(touches: set<uitouch>) }  class passtouchestableview: uitableview {     var delegatepass: passtouchestableviewdelegate?      override func touchesmoved(touches: set<uitouch>, withevent event: uievent?) {         self.delegatepass?.touchmoved(touches)     }      override func touchesended(touches: set<uitouch>, withevent event: uievent?) {         self.delegatepass?.touchended(touches)     } } 

can suggest how can didselectrowatindexpath working again?


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -