회전 (1) 썸네일형 리스트형 [iOS] 뷰 회전 관련 작업 : viewWillTransition viewWillTransition(to:with:) Notifies the container that the size of its view is about to change. 뷰의 사이즈가 바뀔 때 호출되는 함수이다. func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) size : 컨테이너 뷰의 새로운 사이즈 coordinator : 사이즈 변화를 관리하는 transition coordinator object (?????) You can use a transition coordinator object to perform tasks that are related to a transit.. 이전 1 다음