stoyboard之间的跳转
来源:互联网 发布:知天命指的是多少岁 编辑:程序博客网 时间:2024/06/06 15:00
首先找到这个故事版
UIStoryboard *secondStroyBoard=[UIStoryboardstoryboardWithName:@"MainII"bundle:nil];
然后定义一个视图控制器指针
UIViewController *BusinessViewController =nil;
赋值
if ([_btBusiness.titleLabel.textisEqualToString:@"我要开店"]) {
BusinessViewController=[secondStroyBoardinstantiateViewControllerWithIdentifier:@"IDAddBusiness"];
}
最后,利用navigationcontroller进行跳转
if (BusinessViewController !=nil) {
[BusinessViewControllersetHidesBottomBarWhenPushed:YES];
[self.navigationControllershowViewController:BusinessViewController sender:self];
}
这是一种方法。
0 0
- stoyboard之间的跳转
- action 之间的跳转
- Activity 之间的跳转
- Servlet之间的跳转
- activity之间的跳转
- Servlet之间的跳转
- Servlet之间的跳转
- Activity之间的跳转
- Servlet之间的跳转
- Servlet之间的跳转
- Servlet之间的跳转
- activity之间的跳转
- viewController之间的跳转
- 应用程序之间的跳转
- 界面之间的跳转
- fragment之间的跳转
- 应用之间的跳转
- Fragment之间的跳转
- 欢迎使用CSDN-markdown编辑器
- vi命令
- Linux下打包压缩war、解压war包和jar命令
- 墓碑机制 Understanding Doze
- swift—4
- stoyboard之间的跳转
- WordPress 利用 XMLRPC 高效爆破 原理分析
- Makefile 中:= ?= += =的区别
- 【CC2530入门】CH340驱动安装失败解决建议
- 怎样给公司定义一份完美的maven parent pom 文件
- struts2学习02——配置文件
- 【软考】---平衡二叉树
- sql server 断开所有连接
- SQL SERVER中dbcc checkdb 命令