react-native-photo-view
react-native-photo-view copied to clipboard
Background under the images
How to replace the background under the images from black to white or to another. Found in the file RNPhotoView.m. But there is no parameter to set at initialization?
Yeah I'm interested in this too! Changing the RNPhotoView.m doesn't seems to be a great fix...
Hello guys,
I'm edited RNPhotoView.m and replaced 'blackColor' constant to 'whiteColor' in the three places and recompile project. It works. I'm not expert in native module bridges for react native. So this solution works for me.
I want to have a transparent background under my image and for some reason in RNPhotoView.m all three backgroundColor properties have been set to blackColor and I'm not sure what to enter to make it transparent again. I've tried creating a new react-native project, installing and linking PhotoView again and each time it still comes up with a background!
If anyone has any advice that would be great!