분류 전체보기
-
iOS) Presentation 과 Transition 그리고 Animation... (2)iOS 2020. 8. 10. 10:10
Custom Presentation UI를 구성하는 기능은 View Controller가 VC에 화면을 표시하는 기능은 presentation controller가 담당한다. 기본 presentation(ex.full screen, sheet..)을 사용한다면 Presentation Controller가 자동으로 생성된다. presentation을 custom으로 만든다면, 직접 presentation controller를 설정해주어야 한다. 이 presentation controller는 transition animation을 실행한다. custom view를 관리하는 것도 presentation controller의 역할이다. UIPresentationController 통해 presentation을..
-
iOS) Presentation 과 Transition 그리고 Animation... (1)iOS 2020. 8. 7. 07:52
iOS 어플리케이션을 사용하다 보면 화려하고 신기한 애니메이션 효과, 화면 전환 효과로 UI/UX의 중요성을 더욱 강조 시켜준다. Transition과 Animation 기술을 연마하던 중 그 동안 무심코 썼던 VC간 화면 전환에 대해 정리할 필요가 있다고 느껴졌다. 사실 이 글을 쓰기 전까지도 presentation와 Transition의 명확한 구분이 가지 않았다.. iOS를 처음 접했을 땐 스토리보드를 통한 Segue를 사용 했다. 단순히 선을 연결하고 Navigation Controller에 속해 있다면 Show 아니라면 present modally를 선택했을 뿐이였다. present modally를 선택하면 modalPresentationStyle이 등장 한다. 엥 근데 그 밑에 modalTra..