私は多くのことを試しましたが、どれも機能していません。私はSKSceneを持っています。ゲームが終了したら、元のビュー コントローラーに戻したいと思います。前もって感謝します。
私はSKSceneでこれを試しました
homeScreenViewController *viewCont = [[homeScreenViewController alloc] init];
[viewCont viewDidLoad];
これは私の他のView Controllerにあります
constructinoViewController *view = [[constructinoViewController alloc ] init];
[self presentViewController:view animated:YES completion:nil];
ほとんどの場合、 The view is not in the view hierarchy と表示されます。