Pinch zoom in/out using gesture

How to implement pinch zoom in/out using fingers gesture for an imange through photocm object