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

Correct approach of adding zoom and panning capabilities to a custom Image renderer on iOS?

$
0
0

I'm creating an Image custom renderer for iOS on Xamarin.Forms. I'm able to successfully recognize the different touch gestures such as pinch gesture and swipe gestures in my iOS custom renderer. My problem is on how to add the zoom and panning functionality for that Image. Looking at the Xamarin documentation, they suggest a ScrollView to handle the zoom and panning functionality. Is there a way to add a ScrollView inside my Image renderer? Is this even the correct approach?

Thanks.


Viewing all articles
Browse latest Browse all 91519

Trending Articles



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