跳转到storyboard控制器代码

- (IBAction)loginAction:(id)sender {
    
    UIStoryboard *main=[UIStoryboard storyboardWithName:@"Main" bundle:nil];//storyboard标示
    
    RegisterViewController *vc=[main instantiateViewControllerWithIdentifier:@"RegisterConroller"];//控制器标示
    [self.navigationController pushViewController:vc animated:YES];
    

}

原文地址:https://www.cnblogs.com/-ios/p/4672483.html