2013-01-27から1日間の記事一覧
以下のコードで画面の向きを取得するとorientationがUIDeviceOrientationUnknownになってしまう。 UIInterfaceOrientation orientation = [[UIDevice currentDevice] orientation]; ↓を使えばいいらしい。なんか紛らわしいなぁ。 UIInterfaceOrientation ori…
以下のコードで画面の向きを取得するとorientationがUIDeviceOrientationUnknownになってしまう。 UIInterfaceOrientation orientation = [[UIDevice currentDevice] orientation]; ↓を使えばいいらしい。なんか紛らわしいなぁ。 UIInterfaceOrientation ori…