最近の Xcode ではアプリケーションが対応しているデバイスの向きをターゲットの Summary 画面から GUI を用いて設定できるようになりましたが、ここから設定する場合はボタンを押す順番に注意する必要があります。 というのも、この画面で設定した内容は、Info.plist の Supported interface orientations (UISupportedInterfaceOrientations) に反映されるのですが、この項目は Array の値で順番が起動時の状態に影響するからなのです。 上記の画面の状態になるように、ボタンを左から順に押していった場合、Info.plist の UISupportedInterfaceOrientations は下記のようになります。これは新規プロジェクトを作成した場合のデフォルト値です。 今度は同じ状態になるように、ボタンを「右か
![iOS 6 では Supported interface orientations の順番に注意! - 24/7 twenty-four seven](https://cdn-ak-scissors.b.st-hatena.com/image/square/ce103026ca96362471eda29ca107945448412144/height=288;version=1;width=512/http%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2FK%2FKishikawaKatsumi%2F20121005%2F20121005033214.png)