2012-08-16から1日間の記事一覧
デバイスのポートレイトとランドスケイプを判定する処理をなんとなく以下のように書いていた。 + (BOOL)isDevicePortrait { UIDevice* d = [UIDevice currentDevice]; return (d.orientation == UIDeviceOrientationPortrait || d.orientation == UIDeviceOr…
デバイスのポートレイトとランドスケイプを判定する処理をなんとなく以下のように書いていた。 + (BOOL)isDevicePortrait { UIDevice* d = [UIDevice currentDevice]; return (d.orientation == UIDeviceOrientationPortrait || d.orientation == UIDeviceOr…