码迷,mamicode.com
首页 > 其他好文 > 详细

storyboard页面跳转

时间:2014-11-20 14:56:34      阅读:184      评论:0      收藏:0      [点我收藏+]

标签:io   ar   sp   on   bs   c   res   nbsp   view   

将控制器关联上storyboard,并且以控制器的名称命名storyboard ID

在跳转页面的时候这样写

NextViewController *mvc = [self.storyboard instantiateViewControllerWithIdentifier:@"NextViewController"];

    [self presentViewController:mvc animated:YES completion:nil];

storyboard页面跳转

标签:io   ar   sp   on   bs   c   res   nbsp   view   

原文地址:http://www.cnblogs.com/qianyindichang/p/4110528.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!