界面跳转
来源:互联网 发布:ocr识别软件绿色版 编辑:程序博客网 时间:2024/04/26 08:51
除了navigationcontroller 和 presentMadolViewcontroller 界面跳转的一些方式:
第1种方法
thirdController * myThirdCtl = [[thirdController alloc]init];
[self.view addSubview:myThirdCtl.view];
[self addChildViewController:myThirdCtl];
[myThirdCtl.view setFrame:CGRectMake(0, 0, 320, 460)];
[self.view removeFromSuperview];
[self removeFromParentViewController];
第2种方法
fourthController * myFourthCtl = [[fourthController alloc]init];
AppDelegate * myApp = [[UIApplication sharedApplication] delegate];
myApp.window.rootViewController = myFourthCtl;
[myFourthCtl release];
thirdController * myThirdCtl = [[thirdController alloc]init];
AppDelegate * myApp = [[UIApplication sharedApplication]delegate];
myApp.window.rootViewController = myThirdCtl;
[myThirdCtl release];
- 界面跳转
- 界面跳转
- 跳转界面
- 界面跳转(同一个界面)
- 登陆界面和界面跳转
- 审批界面跳转form界面
- Android - Intent - 界面跳转
- Android - Intent - 界面跳转
- iPhone界面跳转
- iPhone界面跳转
- iPhone界面跳转
- iPhone界面跳转
- 跨界面跳转页
- 带参跳转界面
- 的界面跳转
- Android实现界面跳转
- Android Activity界面跳转
- 跳转Home界面
- printf转换说明的可选项
- NDK环境搭建(Native Code的编译,不需要Cygwin)
- Android_permission 问题
- 程序设计基础小测试
- CSS之伪元素
- 界面跳转
- Linux CentOS_5.5下gcc和g++的安装
- Linux下,搭建android的开发环境
- STM32 I2C读写
- Codeforces Round #188 (Div. 2) A.Even Odds
- Extjs3.4开发包的认识
- Excel 序号自动增加
- CSS之尺寸
- windows核心编程(笔记一)