I need a message on the Exit Button (I will use Navigation.PopAsync()
) next to what I did but it works (it does not 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();}
}