【发布时间】:2019-02-24 09:47:50
【问题描述】:
我试图在没有动画的情况下将一个视图控制器移动到另一个视图控制器:
viewController.dismiss(animated: false, completion: nil)
// viewController.presentingViewController != nil here
tabBarController.present(viewController, animated: false, completion: nil)
当我运行这段代码时,我遇到了崩溃:Application tried to present modally an active controller
【问题讨论】:
标签: ios swift uiviewcontroller uikit