Select the UITableView on UICollectionView selection
问题 I have a UICollectionView inside UITableViewCell . When I select the a tableView row, I do not want the didSelectItemAtIndexPath: method of UICollectionView to get called. Instead I want didSelectRowAtIndexPath: method of UITableView to get called. How would I call didSelectRowAtIndexPath: in didSelectItemAtIndexPath: ? 回答1: Set collectionView.allowsSelection = NO to disable selection. OR in the didSelectItemAtIndexPath method, grab the UITableViewCell and call the delegate which is the table