1)「Info.plist」に以下を追加。追加の方法が分からない方は「
こちら」。
<key>UIInterfaceOrientation</key>
<string>UIInterfaceOrientationLandscapeLeft</string>
(画面の左側にホームボタンの場合)
<string>UIInterfaceOrientationLandscapeRight</string>
(画面の右側にホームボタンの場合)
▼Xcodeで追加する場合

Info.plistに項目追加。
左に「UIInterfaceOrientation」、
右に「UIInterfaceOrientationLandscapeLeft」、または「UIInterfaceOrientationLandscapeRight」を追加。
2)そして「xxx(プロジェクト名)ViewController.m」内に、コメントアウト状態の↓っぽい表記がありますので、コメントアウトを除去し以下のように書き換えます。
-(BOOL)shouldAutorotateToInterfaceOrientation:
(UIInterfaceOrientation)interfaceOrientation {
return (interfaceOrientation == UIInterfaceOrientationLandscapeLeft);
//画面の左側にホームボタン
}
↑画面の右側にホームボタンの場合は
return (interfaceOrientation == UIInterfaceOrientationLandscapeRight);
ちなみに「Interface Builder」で作業する場合はビューウィンドウの右上の矢印をクリックするといいです。

↓ くるっ