0
点赞
收藏
分享

微信扫一扫

跳转到storyboard控制器代码

- (IBAction)loginAction:(id)sender {

UIStoryboard *main=[UIStoryboard storyboardWithName:@"Main" bundle:nil];//storyboard标示

RegisterViewController *vc=[main instantiateViewControllerWithIdentifier:@"RegisterConroller"];//控制器标示
[self.navigationController pushViewController:vc animated:YES];


}



举报

相关推荐

0 条评论