在storyboard中 tabbarcontroller怎么写代码切换视图
1个回答
展开全部
UIViewController *view = [self.storyboard instantiateViewControllerWithIdentifier:@"your storybook id"];
[view setModalTransitionStyle:UIModalTransitionStyleCoverVertical];
[self presentViewController:view animated:YES completion:nil];
[view setModalTransitionStyle:UIModalTransitionStyleCoverVertical];
[self presentViewController:view animated:YES completion:nil];
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询