open media in default viewer - ios

Bryce Burrows 1 Reputation point
2021-09-06T00:01:44.817+00:00

Hiya - in my Xamarin forms app the user is able to take photos (using a custom render) and videos (using the default camera recorder)

The media gets added to the assets library after capture.

I have a gallery of thumbnails for the user to preview. I want the user to be able to tap a thumbnail and launch the default viewer. (or delete from a menu item)

In ios what is the correct way to launch the default view for these media files? It's easy enough in Android - but how does one do this in ios?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,314 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bryce Burrows 1 Reputation point
    2021-09-12T23:33:58.793+00:00

    So what i wound up using was Quicklook.

    With the media before previewing had to copy it from the Assets Library to the mydocuments folder

    Happy days.