특정 화면(뷰 컨트롤러)에서 화면회전 고정하기.
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
- 애플
- 22421
- Swift
- Watch OS
- xcode
- 업로드
- watchOS
- 애플와치
- 아이패드
- 장치 확인
- 홈팟
- 애플리케이션 로더
- ios
- IPA
- 스위프트
- 화면회전
- 아이폰
- 열거형
- Apple TV
- 단말기 확인
- AppleTV
- homepod
- 워치os
- iOS7
- 아이맥 프로
- 열거
- 어플리케이션 로더
- Application Loader
- 개발
- TVos
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함