-1
I need a message on the Exit Button (I will use the Navigation.PopAsync()
) next to what I did but that works (this one doesn’t work):
//Botão Sair
void BtnSair_Clicked(object sender, EventArgs e)
{
var result = DisplayAlert("Alerta", "Deseja realmente sair?", "Sim", "Não");
if (result) {Navigation.PopAsync();}
}