C# Xamarin.Forms ios Navigation.PushAsync not working properly

Published

I have xamrin.forms project with both Android and iOS. I have just simple 2 pages where i call one from the other. On android everything is working perfectly as it should but on iOS any call for forms (navigation.PushAsync, DisplayAlert, …) is not working properly (does nothing) until I put application to the sleep (put it to the background ) and then when I reload it back everything starts to work perfectly.

This is how i create first page in App.xaml.cs

var page = new NavigationPage(new FirstPage());
MainPage = page;

Button command for my first page calls for this:

FormsNavigation.PushAsync(secondPage, true);

I allredy tried to wrap Push into Device.BeginInvokeOnMainThread but no result.

Source: Xamarin.ios Questions

Published
Categorised as Uncategorised Tagged , , ,

Answers

Leave a Reply

Your email address will not be published. Required fields are marked *

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq