일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- 실생묘
- 종이모형
- ios
- PassingCars
- 스파르탄
- 고양이
- creative park
- paper craft
- 산책묘
- 세팔
- 끄니
- cephalotus
- 반려동물
- 세팔로투스
- Blueberry
- codility
- 애완동물
- 끈끈이주걱
- 고양이 산책
- paper-replika
- 명랑이
- objective-c
- Wall-E
- 식충식물
- 아기고양이
- UIAlertView addSubView
- 태그를 입력해 주세요.
- 블루베리
- UIAlertView setFrame
- CountDiv
Archives
- Today
- Total
목록ios get device orientation (1)
꼼시월드
ios 기기의 회전 값 구하기
출처 : http://stackoverflow.com/questions/5559652/how-do-i-detect-the-orientation-of-the-device-on-ios if UIViewController: if (UIDeviceOrientationIsLandscape(self.interfaceOrientation)) { // } if UIView: if (UIDeviceOrientationIsLandscape([UIApplication sharedApplication].statusBarOrientation)) { // } UIDevice.h: #define UIDeviceOrientationIsPortrait(orientation) ((orientation) == UIDeviceOrienta..
iOS
2014. 1. 21. 13:38