pushViewController with tableViewController in viewController
问题 I have an UIViewController, this controller is contained in a navigationController. I add an UITableViewController in this viewController. I would like to call a pushViewController method when I press on a cell of my tableView. I tried this : UITableViewController - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { FirstView *myViewController = [[FirstView alloc] init]; [f myViewController]; } UIViewController (FirstView) -(void)pushIt { SecondView