不同storyboard之间的跳转

来源:互联网 发布:mac尝试靠近无线路由器 编辑:程序博客网 时间:2024/05/21 05:19


UIStoryboard *stroyboard = [UIStoryboard storyboardWithName:@"storyboard文件名"bundle:nil];

XXViewController *xxViewController = [storyboardinstantiateViewControllerWithIdentifier:@"XXViewController的identify"];

[self.navigationControllerpushViewController:xxViewControlleranimated:YES];



1 0
原创粉丝点击