didSelectRowAt method is not being called when inheriting from BaseViewController.

class BaseViewController: UIViewController {
  override func viewDidLoad() {
    super.viewDidLoad()
    self.hideKeyboardWhenTappedAround()
  }

}

The code you posted gives no information at all.

didSelectRowAt method is not being called

  • Where is TableView or CollectionView defined ?

  • Where are they called ?

  • Does BaseViewController conform to UITableViewDelegate and UITableViewDataSource ? If not, no delegate function will ever be called from this class.

Please post relevant code.

didSelectRowAt method is not being called when inheriting from BaseViewController.
 
 
Q