Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

PopToRootAsync iOS error

$
0
0

Hi! I'm trying to close two windows in the same instruction. In Android PopToRootAsync works perfectly, but in iOS the app crashes.

The error says:

System.ArgumentNullException: Argument cannot be null.Parameter name: gestureRecognizer

My code:

public async void SaveButton()
{
    SaveData();
    await this.Navigation.PopToRootAsync();
}

I'm using Xlabs MVVM in Xamarin Forms. Any idea about the problem?


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>