首页 > 其他 > 详细

uistoryboard跳转界面

时间:2017-05-03 12:38:48      阅读:265      评论:0      收藏:0      [点我收藏+]
/**1.创建Storyboard,加载Storyboard的名字,这里是自己创建的Storyboard的名字*/

    UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];

UIViewController

 *nav  = [storyboard instantiateViewControllerWithIdentifier:@"nav"];

    

    UIWindow *window = [[[UIApplication sharedApplication]delegate]window];

    window.rootViewController = nav;

技术分享

 

uistoryboard跳转界面

原文:http://www.cnblogs.com/hualuoshuijia/p/6801176.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!