This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/ios/knowledge-base/zoom-to-specific-annotation.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. Zooming to PDF annotations in iOS

When a PDF loads in Nutrient, and you want to zoom in to a particular annotation, you can do this by passing the annotation’s bounding box to the zoom(toPDFRect:forPageAt:animated:) method of PDFDocumentViewController:

class CustomPDFViewController: PDFViewController {
override func viewDidAppear(_ animated: Bool) {
super.viewDidAppear(animated)
// Find the first annotation for demonstration purposes.
guard let document = self.document, let annotation = document.annotationsForPage(at: 0, type: .all).first else {
return
}
self.documentViewController?.zoom(toPDFRect: annotation.boundingBox, forPageAt: 0, animated: true)
}
}

This has been tested with Nutrient iOS SDK 8.4.