2012-06-02から1日間の記事一覧
多くのサイトでデバイスの向きを取得する方法は以下であると書いてある。 UIDeviceOrientation orientation = [[UIDevice currentDevice] orientation]; が、これを使うとデバイスの向きの判定が間違うことがあった。具体的には横向きの状態でUIDeviceOrient…
多くのサイトでデバイスの向きを取得する方法は以下であると書いてある。 UIDeviceOrientation orientation = [[UIDevice currentDevice] orientation]; が、これを使うとデバイスの向きの判定が間違うことがあった。具体的には横向きの状態でUIDeviceOrient…