ゲーム ビューが GLKViewController の場合、ゲーム メニューを作成する最良の方法は何ですか?
XCode (iOS >= 5) で利用可能な OpenGL ゲーム テンプレートを使用してテスト アプリケーションを作成する場合、ナビゲーション コントローラーを追加し、ゲーム メニューとして UIViewController を作成し、たとえば私のゲームにセグエを持つボタン New Game を追加できます。 GLKViewController でこれらの手順に従ってアプリケーションを実行し、[新しいゲーム] ボタンをクリックして、2 つのキューブが回転しているのを確認して [戻る] をクリックすると、同じ画面が表示されます。ゲーム メニューに戻るには、もう一度 [戻る] をクリックする必要があります。このプロセス中に次のエラーがログに記録されます。
2013-01-24 22:35:18.781 test1[640:907] nested push animation can result in corrupted navigation bar
2013-01-24 22:35:19.221 test1[640:907] Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted.
2013-01-24 22:35:19.226 test1[640:907] Unbalanced calls to begin/end appearance transitions for <TestViewController: 0x1d836880>.
2013-01-24 22:35:33.689 test1[640:907] nested push animation can result in corrupted navigation bar
2013-01-24 22:35:34.079 test1[640:907] Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted.
2013-01-24 22:35:34.083 test1[640:907] Unbalanced calls to begin/end appearance transitions for <TestViewController: