UIStoryboard*  sb = self.storyboard改成UIStoryboard*  sb = [UIStoryboard storyboardWithName:@"XXXX" bundle:nil];试试记住xxxx后面不要加扩展名

解决方案 »

  1.   

     // 3.跳到主界面
       [self performSegueWithIdentifier:@"About" sender:nil];
    也可以这么调用,我程序里的一部分代码      Class c = NSClassFromString(item.className);
          UIViewController *vc = [[c alloc] init];
           nav = [[UINavigationController alloc] initWithRootViewController:vc];
           nav.modalPresentationStyle = UIModalPresentationFormSheet;
            [self presentViewController:nav animated:YES completion:nil];