-
Notifications
You must be signed in to change notification settings - Fork 296
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
Push will be invalid #104
Comments
Can I have a sample project that has the bug? |
i have the same pro
open class var topMost: UIViewController? {
guard let currentWindows = self.sharedApplication?.windows else { return nil }
var rootViewController: UIViewController?
for window in currentWindows {
if let windowRootViewController = window.rootViewController, window.isKeyWindow {
rootViewController = windowRootViewController
break
}
}
return self.topMost(of: rootViewController)
} |
I had the same problem,push Sometimes return nil. |
That is right,#114 Can you help me? thank you |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if app have Multiple windows,
navigator.push("")
will be invaildI think that should modify UIViewController. topMost
code:
The text was updated successfully, but these errors were encountered: