react-native-image-crop-tools
react-native-image-crop-tools copied to clipboard
keepAspectRatio not working in iOS devices
when keepAspectRatio is set to true, it is working fine on android devices and also the iOS simulator, but when it is used on a real iOS device, the user is able to change the aspect ratio of the crop.
Hi, can you please attach some video and/or code snippet? This has never come up before.
<CropView sourceUrl={image.uri} style={styles.cropSection} ref={(ref) => this.cropModalRef = ref} onImageCrop={(res) => this.props.saveImage(res, image)} keepAspectRatio aspectRatio={{ width: isForMobile ? 1 : 3.5, height: isForMobile ? 1.2 : 1 }} /> ,this is my implementation sample_2eZA8rMd_GtRM.mp4.zip
it is working on some devices, any idea why?
You mean on some iOS devices? Can you name some of them?