所以我的代码在已经模态化的vc上显示了一个vc。所以基本上我有3个VC在彼此的顶部1/2/3。但是,当我试图解雇VC#3时,2/3都被解雇了。我试图使用self.presentingvc来解雇,但我仍然得到相同的结果。任何解决方案?
let SearchController = GMSAutocompleteViewController()
SearchController.delegate = self
present(SearchController, animated: true, completion: nil)
dismiss(animated: true, completion: nil)