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
Asked
Active
Viewed 458 times
0

Anand
- 1,866
- 3
- 26
- 49
1 Answers
1
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

nevermore
- 15,432
- 1
- 12
- 30
-
Hi bro Thanks . Will the overlay sample will help me to achieve this in crosplatform way? – Anand Sep 15 '20 at 07:44
-
You can have a try as there is a overlayerView on camera sample there. I think it almost meet your requirement. – nevermore Sep 15 '20 at 08:07
-
Let me check bro. – Anand Sep 15 '20 at 10:04
-
Bro it worked. Thanks Can you help me on this part? https://stackoverflow.com/questions/63908778/xamarin-forms-ios-take-image-using-camera-natively?noredirect=1#comment113011412_63908778 – Anand Sep 16 '20 at 07:25