반응형
코드로 다른 contorller view 를 불러올때, 크기를 이어받을 것인지, 풀로 불러올 것인지 정할 수 있음.
나는 주로 맥북에서 테스트 시에 쓰게 됨.
svc.modalPresentationStyle = .currentContext //이전 cv와 동일
svc.modalPresentationStyle = .fullScreen //이전 cv와 상관 없이 풀스크린
'iOS' 카테고리의 다른 글
[Swift] contentView - expandable tableView (0) | 2022.01.02 |
---|---|
[Swift] Google Admob 추가 (0) | 2021.12.24 |
[Swift] 작업영역에서 Statusbar 제외하기 (0) | 2021.12.15 |
[Swift] SnapKit (0) | 2021.12.15 |
[Swift] Lazy 변수 (0) | 2021.12.15 |