presentedviewcontroller 썸네일형 리스트형 [UIKit] 특정 ViewController 가 띄워져 있음을 감지하는 방법 이번 주제는개발을 진행할때 마주한 문제를 해결했던 방법에 대해설명해볼까합니다. func presentViewController() { let childViewController = ChildViewController() childViewController.modalPresentationStyle = .fullScreen present(childViewController, animated: true, completion: nil) } 문제 상황은 A ViewController (parent) 에서 ChildViewController 를 present 방식으로 띄우는데전역변수가 아닌 지역변수로 설정을 해둔 상태이고, A ViewController 의 다른 메서드에서.. 더보기 이전 1 다음