-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
页面不能跳转的bug #116
Comments
这里的写法有问题, 正确的写法应该是: |
Does #110 fix this issue? |
#110 can NOT fix this issue. Other Example:
Before present:
After present and Dismiss the UIImagePickerController:
So:
Then topMost will return PUPhotoPickerHostViewController instead SampleViewController. |
Can you please share a sample project so that I can reproduce the bug? |
guard let currentWindows = self.sharedApplication?.windows else { return nil }
var rootViewController: UIViewController?
for window in currentWindows {
if let windowRootViewController = window.rootViewController {
rootViewController = windowRootViewController
break
}
}
比如在其他window 也有rootViewController的时候, 并且这个时候这个windows 不是key window, 这个时候获取到rootViewControoler 就不是当前 可见的 rootviewController
Originally posted by @shenfh in https://github.com/devxoul/URLNavigator/issue_comments#issuecomment-446162236
The text was updated successfully, but these errors were encountered: