이렇게 한번에 모달창 두개를 dismiss 하는 방법은
self.presentingViewController?.presentingViewController?.dismiss(animated: true, completion: nil)
로 구현할 수 있습니다~
참고 https://stackoverflow.com/questions/54266115/how-to-dismiss-2-modal-view-controllers-without-weird-animation
개쩔티비
개쩔티비