How do I know that the user pressed the button, "ok", "cancel"? And using this , how can a make a if?
This is how I do it.
bool confirmForm = await DisplayAlert("Title", "Message", "Yes", "No");
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies