Search code examples
xcodereact-nativeios-simulator

How to zoom image in ios simulator?


I'm using react-native-image-pan-zoom package and i want to test the functionality of zooming

I tried press cmd and mouse trackpad, it doesn't help


Solution

  • Press 'option' key from the keyboard and mouse trackpad. The mouse pointer in simulator will be changed to two circles and after that by dragging on track pad you can zoom in and zoom out on the image. It works just like pinch gesture in native iOS application.

    Hope this helps.