跳转到storyboard控制器代码
- (IBAction)loginAction:(id)sender {
UIStoryboard *main=[UIStoryboard storyboardWithName:@"Main" bundle:nil];//storyboard标示
RegisterViewController *vc=[main instantiateViewControllerWithIdentifier:@"RegisterConroller"];//控制器标示
[self.navigationController pushViewController:vc animated:YES];
}
posted on 2015-07-24 09:41 yucaijiang 阅读(229) 评论(0) 编辑 收藏 举报