storyboard用代码跳转
//    UIStoryboard *board = [UIStoryboard storyboardWithName:@"MainStoryboard_iPhone" bundle:nil];
//    
//    // 获取故事板中某个View
//    UIViewController *next = [board instantiateViewControllerWithIdentifier:@"rootVC"];
rootVC是要跳转VC的标示,必须再storyboard文件设置

 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号