Can Xlabs [MediaPicker] feature be tested on iphone simulator?

WinterCloudWinterCloud GBMember ✭✭✭

I have Xlabs [MediaPicker] set up for my project.

It works on Android with no problems.

However, when running on iphone simulator ( I don't have a device yet. ), DependencyService can get MediaPick alright, but when trying to select photo, app just crashes with no error. I do have the code below wrapped around with try catch.

Normally, try catch works, so I'm wondering can this feature be tested on iphone simulator at all? Do I have to have a device?

If it can work, how to avoid this crash with no error?

var mediaFile = await mediaPicker.SelectPhotoAsync( new CameraMediaStorageOptions
{
    DefaultCamera = CameraDevice.Front,
    MaxPixelDimension = 400
} );

Best Answer

Answers

Sign In or Register to comment.