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