【发布时间】:2017-03-23 22:14:42
【问题描述】:
我试图在 navigationController 中以模态方式呈现 viewController ,然后在 x-seconds 之后推送另一个视图,但由于某种原因,first 和 second view 没有动画呈现。我尝试在主线程上dispatch UI 相关代码,但它没有修复错误。
我使用navigationController.setViewControllers([vc]), animated: true)
首先是rootViewController.present(navigationController, animated: true),对于这两个视图,
知道为什么缺少动画吗?
【问题讨论】:
标签: ios swift uiviewcontroller uinavigationcontroller modalviewcontroller