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

Anyone tried a Camera Crop / Resize Overlay?

$
0
0

We're currently using Xamarin forms for an app where you can take a picture and store it on the database. We're using XF Labs (https://github.com/XForms/Xamarin-Forms-Labs) for the camera function and it's working great. Now, we only have to add a feature where the user can crop the photo they take or the one from the album. Problem is I don't have any idea how to create or call the native image cropping overlay for Photos that is usually used in iOS and Android.

I've seen Mike Bluestein create a crop overlay using a custom renderer for iOS here: http://blog.xamarin.com/using-custom-uiviewcontrollers-in-xamarin.forms-on-ios/ . But can this be recreated in Android? Or is there a way to call the native cropping function for cameras using custom renderers for both platforms?

I've done a lot of researching and also tried Mike's way for iOS. Just wanted some more insights. Thank you! :)


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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