包括通知類彈窗和選擇類彈窗,如下是安卓手機的顯示效果
git
DisplayAlert("Alert", "You have been alerted", "OK");
var answer = await DisplayAlert("Question?", "Would you like to play a game", "Yes", "No");
var action = await DisplayActionSheet("ActionSheet: Send to?", "Cancel", null, "Email", "Twitter", "Facebook");
示例代碼github
顯示彈出窗口c#