回転変化時 通常画面の向きが変化した時、 画面回転する直前の呼び出し - (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration 画面回転する直後の呼び出し - (void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation で処理できます。 しかし、これでは起動時にどっちを向いているかには対応してくれません。 起動時の取得 起動時の画面の向きを取得するには int direction = self.interfaceOrientation; これをviewDidLoadで検出すればよかったようで
![iPhone, iPadの画面の向きを検出する【起動時と変化時】](https://cdn-ak-scissors.b.st-hatena.com/image/square/8e7d95c2cf5330429f63a1873fb988c8e3e500de/height=288;version=1;width=512/http%3A%2F%2Fmasahiro1007.info%2Fwp-content%2Fuploads%2F2013%2F11%2Fipad-rotation-150x150.png)