didSelectRowAtIndexPath: not being called
问题 I have a UITableView as a subview of my UIScrollVIew , which is the main view controlled by my MainViewController . In MainViewController.h @interface MainViewController : UIViewController <UIGestureRecognizerDelegate, UITableViewDelegate, UITableViewDataSource> // other stuff here... @property (weak, nonatomic) IBOutlet UITableView *myTableView; In MainViewController.m @synthesize myTableView; // other stuff here... - (void)viewDidLoad { myTableView.delegate = self; myTableView.datasource =