Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
幅480、高さ320のdefault-landscape.png画像があり、シミュレーターに表示すると、90度回転して表示されます。グラフィックエンジンにはAppGameKitを使用し、残りの部分には標準のC ++を使用していますが、これはxcode構成と関係があると確信しています。これが私が遭遇しているものの画像です:
デバイスをポートレートモードにする場合は、高さを480、幅を320にする必要がありますか?とにかく、プログラムでデバイスの向きを設定することもできますが、これをAppDelegateに追加して、デバイスの向きを希望どおりに設定してみてくださいshouldAutorotateToInterfaceOrientation:。
shouldAutorotateToInterfaceOrientation: