Anand
Anand

Reputation: 1959

Xamarin.forms open camera inside popup

Is there any way we can open camera in a custom popup in xamarin.forms? Currently I am using Xam.Plugin.Media which will open camera in an entire screen. what I am trying to mimic is open the camera inside a circular frame to show inside Rg.Plugin.Popup . How can I achieve it? Does it require platform level implementation? Any help is appreciated

Upvotes: 0

Views: 573

Answers (1)

nevermore
nevermore

Reputation: 15796

First, I find a feature-request - Cropping interface of Xam.Plugin.Media and the author refused it as it should be done in a different app since it is not available out of the box on all platforms.

You can have a try with Take Photo Overlay (iOS Only) function of this plugin to add a layer in iOS camera.

I also find a useful OverlaySample of Xamarin.forms which can add overlayer to camera in Xamarin.forms.

Refer: overlayview-in-xamarin-forms

how-capture-image-using-camera-circle

Upvotes: 1

Related Questions