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

How to make pop up with destroy button?

$
0
0

In xamarin site I have read about pop ups. There was an example of pop up with destroy button in which "Delete" button becomes red in IOS and Android .
I copied code from there and pasted in my project but in all platforms I just get usual buttons "Delete" button is not red.
This is the code from the xamarin site

async void OnActionSheetCancelDeleteClicked (object sender, EventArgs e)
{
var action = await DisplayActionSheet ("ActionSheet: SavePhoto?", "Cancel", "Delete", "Photo Roll", "Email");
Debug.WriteLine ("Action: " + action);
}

What do I miss? What should I add to make pop up as in screenshot I have attached?


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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