Application tried to present modally a view controller on itself
뷰 컨트롤러를 인스턴스화하고 present하는 과정에서 바보같이 실수
guard let storyboard = self.storyboard?.instantiateViewController(withIdentifier: "stoyboard) as" storyboard else { return }
storyboard.modalPresentationStyle = .fullScreen
storyboard.present(storyboard, animated: true)
문제는 3번째 라인
storyboard.present(storyboard, animated: true) // 이라인을 아래처럼 수정
self.present(storyboard, anivated: ture) //이렇게