I have this code to capture an image in xamarin ios, but it does not do anything.
private void DoTakePicture()
{
try
{
_pictureChooserTask.TakePicture(400, 95, OnPicture, () => { });
}
catch (Exception ex)
{
_dialogService.ShowToast(ex.Message);
}
}
the output is MvxImagePickerTask called when task already active I have the permissions added. Can someone know what's going on?
Thank you.