Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Problem to take Pictures (Acr.XamForms)

$
0
0

I'm trying to take pictures using Acr.XamForms. Follow the sample I've wrote that:

if (mediaPickerService.IsCameraAvailable || mediaPickerService.IsPhotoGalleryAvailable)
{
var options = new CameraOptions
{ Camera = CameraDevice.Rear };

            var photo = await mediaPickerService.TakePhoto(options);
        }

Debug in my iPhone, after took the picture the UI freeze.

What I need to do ?? How do I capture the image when it back from the camera view to my app ??

Thanks!


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>