storyboard用代码跳转

//    UIStoryboard *board = [UIStoryboard storyboardWithName:@"MainStoryboard_iPhone" bundle:nil];
//    
//    // 获取故事板中某个View
//    UIViewController *next = [board instantiateViewControllerWithIdentifier:@"rootVC"];

rootVC是要跳转VC的标示,必须再storyboard文件设置

posted @ 2012-11-16 16:20  人魔七七  阅读(1203)  评论(0编辑  收藏  举报