- 使用
pushViewController
:UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"MainStoryboard" bundle: nil]; LocationWebView *lvc = [storyboard instantiateViewControllerWithIdentifier:@"LocationWebView"]; [self.navigationController pushViewController:lvc animated:YES];
以编程方式执行
Segue
:
你有没有一些替代方案的提示以及这个操作应该如何执行的最佳方法?请注意,我不是指模态视图。[self performSegueWithIdentifier: @"SongSegue" sender: self];