react-native-image-viewing
react-native-image-viewing copied to clipboard
Pinch zoom not working on IOS, works fine on Android.
<ImageView images={formattedImg} imageIndex={indexImg} visible={galleryVisibility} onRequestClose={onRequestClose} FooterComponent={({ imageIndex }) => ( <ImageFooter imageIndex={imageIndex} imagesCount={formattedImg.length} /> )} swipeToCloseEnabled={false} HeaderComponent={() => ( <ImageHeader title={title} onRequestClose={onRequestClose} /> )} />
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