Closed nescroft closed 4 years ago
``
This has blown my mind
Just to put it, your solution only works for iOS. So if anyone isn't building for android, then this is great
Just to put it, your solution only works for iOS. So if anyone isn't building for android, then this is great
yeah i realized that eventually.. if anyone has an easy solution like this for android i'd be interested to see it. it works great on ios.
I found that all I needed for zoom was this. I'm not sure how to do double click to zoom but I don't really need it for my app. I just put this here for other people who might be having problems with react-native-zoomable-view.
<ScrollView bounces={false} bouncesZoom={false} maximumZoomScale={2} minimumZoomScale={1} showsHorizontalScrollIndicator={false} showsVerticalScrollIndicator={false}> /*your content*/ </ScrollView>