iPad 用のインタラクティブな電子書籍アプリである最初のプロジェクトを構築しています
XCode の Single View App テンプレートから始めました
これまでのところ、プロジェクトは主に UIImageViews と MPMovieController ビデオの間の一連のブロック アニメーション トランジションであり、これまでのところ非常にシリアルです。
すべてが単一のビューの下の単一のビュー内でコーディングされます - 画像ビューはアルファアニメーションでフェードインおよびフェードアウトします
メモリの問題が発生し始めています。私はメモリ計測器を使用しましたが、実行時にインスタンス化されたいくつかのビデオを除いて、ほとんどすべてが最初にメモリにロードされていることがわかります (InterfaceBuilder からの画像)。
私の質問は、メモリをより有効に利用するためにコードを再編成するにはどうすればよいですか? 1 つのビュー コントローラーの下で異なるビューに分割する必要がありますか、それとも複数のビュー コントローラーを使用する必要がありますか?
そして、実装するのが最も簡単なのはどれですか?