jobtoday/react-native-image-viewing

Pinch zoom not working on IOS, works fine on Android.

Mr2803 opened this issue ยท 2 comments

<ImageView
images={formattedImg}
imageIndex={indexImg}
visible={galleryVisibility}
onRequestClose={onRequestClose}
FooterComponent={({ imageIndex }) => (

)}
swipeToCloseEnabled={false}
HeaderComponent={() => (

)}
/>

Same

Locate react-native-image-viewing within your node modules and navigate to the ImageItem.ios.js file and change maxScale to something like 3. You can use the yarn patch or npm patch-package to add these changes to your repo so they persist reinstalls of node modules