Exemplo n.º 1
0
 private void Button4_Pressed(object sender, System.EventArgs e)
 {
     XamarinApplication.PopPage();
     // PopAsync(this), RemovePage(this), PopToRootAsync is not supported globally on iOS, please use a NavigationPage. For PopModalAsync(true), error was Index was out of range
     //await Application.Current.MainPage.Navigation.PopModalAsync(true);
     //Application.ClosePage();
 }
 private void Button_Pressed(object sender, EventArgs e)
 {
     XamarinApplication.PopPage();
 }
Exemplo n.º 3
0
 private void Button3_Pressed(object sender, System.EventArgs e)
 {
     //await Navigation.PushAsync(new SecondTestPage());
     // Didnt Work because is not supported globally on iOS
     XamarinApplication.PushPage(new ThirdTestPage());
 }
Exemplo n.º 4
0
 private void Button2_Pressed(object sender, System.EventArgs e)
 {
     XamarinApplication.PushPage(new SecondTestPage());
 }