我有 3 个名为 firstController、secondController 和 thirdController 的 viewController。我的逻辑是 firstController.presentViewController(secondController),然后是 secondController.presentViewController(thirdController),然后通过 UIApplication.shareApplication().keywindow!.rootViewController = firstController 设置 rootViewController...
但是当我将 firstController 设置为 rootViewController 时,当使用 thirdController.modalTransitionStyle = UIModalTransitionStyle.CrossDissolve 将 viewController 从 secondController 呈现到 thirdController 时,firstController 将在动画期间显示。
我不应该像这样使用 rootViewController 吗?