Reputation: 465
How to implement an image zooming by means of gestures? An <Image />
has property resizeMethod='scale'
, but it doesn't work.
Upvotes: 1
Views: 1265
Reputation: 397
You can't zoom on images with a single code in both iOS and Android.
You can use PhotoViewAndroid
native component and provide onPhotoViewerScale
native prop for it or wrap an Image inside a ScrollView
which it's contents are zoomable for iOS.
I recommend using this component.
Upvotes: 1