 <p>If you want to disable only zooming with pinch gesture, below code does the trick. </p> <pre><code>scrollView.pinchGestureRecognizer?.requireGestureRecognizerToFail(scrollView.panGestureRecognizer) </code></pre>