【发布时间】:2020-07-08 20:05:29
【问题描述】:
我需要从视图模型显示 DisplayAlert,但它根本不显示。还有其他方法可以显示来自 VM 的警报吗?权限为 true,因此有效。
private async Task TakePicture()
{
await Permission();
var imageSource = Application.Current.MainPage.DisplayActionSheet(AppResources.AlertNewPhoto, AppResources.AlertNewPhoto, AppResources.AlertGallery);
if (imageSource.Result == AppResources.AlertNewPhoto)
}
【问题讨论】:
标签: xamarin.forms