从故事板上取视图控制器

    UIStoryboard *story = [UIStoryboard storyboardWithName:@"storyboardName" bundle:nil];
    CustomerViewController *VC = [story instantiateViewControllerWithIdentifier:@"CustomVC"];

你可能感兴趣的:(ios,storyboard)