특정 화면(뷰 컨트롤러)에서 화면회전 고정하기.
AppDelegate 에서 class AppDelegate: UIResponder, UIApplicationDelegate { ..... var shouldSupportAllOrientation = true //화면회전을 잠그고 고정할 목적의 플래그 변수를 추가한다. func application(_ application: UIApplication, supportedInterfaceOrientationsFor window: UIWindow?) -> UIInterfaceOrientationMask { if (shouldSupportAllOrientation == true){ return UIInterfaceOrientationMask.all// 모든방향 회전 가능 } return UIInterfaceOri..
Swift
2017. 4. 20. 17:09
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 열거형
- 아이패드
- Watch OS
- 단말기 확인
- 화면회전
- TVos
- homepod
- 애플와치
- 홈팟
- 애플리케이션 로더
- 아이맥 프로
- 스위프트
- IPA
- 장치 확인
- Apple TV
- watchOS
- 아이폰
- 22421
- Application Loader
- AppleTV
- 애플
- xcode
- 워치os
- 열거
- iOS7
- Swift
- 어플리케이션 로더
- ios
- 개발
- 업로드
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
글 보관함