別のView Controllerに移行するためのこのコードがあります(アプリにはすべてが互いに接続する多くのviewControllerがあるため、プログラムでこれを実行したいと思います):
UIViewController *homeViewController = [self.storyboard instantiateViewControllerWithIdentifier:@"HomeViewController"];
[self presentViewController:homeViewController animated:0 completion:nil];
また、ストーリーボード ファイルでStoryboard ID
viewController の を設定します。HomeViewController
実行すると、次のエラーが表示されます。'Storyboard (<UIStoryboard: 0x712af50>) doesn't contain a view controller with identifier 'HomeViewController''
なぜこのエラーが発生するのですか?