I am trying to make the transition from one ViewController to another ViewControllerTable. I register the transition in ViewController.m in working out of clicking the "Enter" button (because I only need the transition if the condition is met)

ViewControllerTable *detail = [self.storyboard instantiateViewControllerWithIdentifier:@"ViewControllerTable"]; [self.navigationController pushViewController:detail animated:YES]; 

The code does not swear, the transition does not work, Why? I suspect that this is due to the Navigation Controller

storyboard

View Controller Table

    1 answer 1

    Set the Navigation Controller as the Initial View Controller , in IB select the Attributes tab and check the Is Initial View Controller checkbox. Currently, the Initial View Controller your View Controller Connect (this is indicated by the arrow in IB)