iOS
ComPDFKit PDF SDK
Guides

Zooming

 

ComPDFKit PDF SDK provides super zoom out and in to unlock more zoom levels, and pinch-to-zoom or double tap on specific area to perform a smart page content analysis, or you can programmatically interact with it by using the following method.

 

- Manual Zooming

You can use CPDFView::setScaleFactor:animated:  to zoom the current document.

 

- Disabling Zooming 

Zooming can be disabled by setting the scrollEnabledto NO on CPDFView.

 

pdfView.scrollEnabled = NO;