How to load view controller without button in storyboard?
问题 I want to load view controller without button. I set the identifier to 10 and tried to use if(...){ //load ViewController2 [[self storyboard] instantiateViewControllerWithIdentifier:@"10"]; } but nothing happens. with this function it s doesn t work too UIViewController *vc = [[self storyboard] instantiateViewControllerWithIdentifier:@"10"]; [self.navigationController pushViewController:vc]; here is my progect http://www.sendspace.com/file/kfjhd5 whats a problem? 回答1: Calling