We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Here is how we want to get the top view controller in Xamarin iOS native layer,
vc = UIApplication.SharedApplication.KeyWindow.RootViewController; while (vc.PresentedViewController != null) { vc = vc.PresentedViewController; } if (vc is UINavigationController) { vc = ((UINavigationController)vc).TopViewController; }
However, we can't get correct top view controller when we are navigating to a page but It works fine if the top page is a modal page.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Here is how we want to get the top view controller in Xamarin iOS native layer,
However, we can't get correct top view controller when we are navigating to a page but It works fine if the top page is a modal page.
The text was updated successfully, but these errors were encountered: