2020. 5. 14. 03:51ㆍ아이폰 개발
iOS 13부터는 화면 전환시, 기본적으로 뷰컨트롤러가 카드처럼 쌓이는 방식으로 present가 구동된다.
전체 화면으로 화면 전환을 하고 싶으면 다음과 같이 풀스크린 옵션을 주면 된다.
let vc = UIViewController()
vc.modalPresentationStyle = .fullScreen //or .overFullScreen for transparency
self.present(vc, animated: true, completion: nil)
https://stackoverflow.com/questions/56435510/presenting-modal-in-ios-13-fullscreen
Presenting modal in iOS 13 fullscreen
In iOS 13 there is a new behaviour for modal view controller when being presented. Now it's not fullscreen by default and when I try to slide down, the app just dismiss the View Controller automat...
stackoverflow.com
Custom Segue 트랜지션 애니메이션을 사용하는 방법. 이해가 어렵게 정리된 다른 레퍼런스들에 비하면 깔끔하게 이해된다.
https://aggapple.tistory.com/95
[swift3] custom segue transition animation
# 오른쪽화면이 왼쪽으로 이동하며 등장 (right to left) # 왼쪽화면이 오른쪽으로 이동하며 등장 (left to right) # 적용 : Segument 선택 > Attributes Inspector 탭 > Kind = Custom 선택, Class = SegueLeftTo..
aggapple.tistory.com