跳转到storyboard控制器代码
2015-07-24 09:41
239 查看
- (IBAction)loginAction:(id)sender {
UIStoryboard *main=[UIStoryboard storyboardWithName:@"Main" bundle:nil];//storyboard标示
RegisterViewController *vc=[main instantiateViewControllerWithIdentifier:@"RegisterConroller"];//控制器标示
[self.navigationController pushViewController:vc animated:YES];
}
UIStoryboard *main=[UIStoryboard storyboardWithName:@"Main" bundle:nil];//storyboard标示
RegisterViewController *vc=[main instantiateViewControllerWithIdentifier:@"RegisterConroller"];//控制器标示
[self.navigationController pushViewController:vc animated:YES];
}
相关文章推荐
- 【连载】Maven系列(四)——配置私服
- Coefficient of Determination(R Squared)(How to determine goodness of fit)?
- python 例子1
- JDK环境变量配置
- Java Socket编程
- Java语言系列03——基本数据类型
- python 例子1
- Editplus 当前行高亮技巧
- 普通的年轻状态机,纯C语言
- 一种最简单的Java环境变量配置
- eclipse运行maven的jetty插件内存溢出
- Spring读取配置文件,获取bean的几种方式
- hihoCoder #1051 补提交卡
- 性能分析工具Eclipse Mat
- String在java编程中使用细则
- C++实现道格拉斯-普克法压缩矢量数据
- Postfix开启内网SMTP认证
- 初识python django, 让我们一起进入python的世界吧
- Eclipse debug高级 技巧(转)
- Java String 比较和 Integer 比较