Modal segue needs 2 clicks instead of one
My UITableView needs 2 clicks to show the detail page of the selected cell : one for selection and another one for show the detail view. I would like one clic to directly show the detail view of the clicked cell. I use a modal segue with this method inside my UITableViewManager.m : - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { if ([[segue identifier] isEqualToString:@"showDetail"]) { NSIndexPath *indexPath = [playerList indexPathForSelectedRow]; TCPlayerStat *object = _objects[indexPath.row]; [[segue destinationViewController] setPlayerStat:object]; } } I can't work