Is there a way to pinch to zoom the set image?

I would like the ability to adjust the image set in the image component with a pinch. What if I need to code?