---
title: "PDF crop library for iOS — Crop PDF pages on iOS | Nutrient"
canonical_url: "https://www.nutrient.io/guides/ios/editor/page-manipulation/crop/"
md_url: "https://www.nutrient.io/guides/ios/editor/page-manipulation/crop.md"
last_updated: "2026-06-18T12:08:54.593Z"
description: "Crop PDF pages on iOS using Nutrient iOS SDK. Load your document, set cropping parameters, and save the modified version effortlessly."
---

# Cropping PDF pages on iOS

Nutrient iOS SDK lets you crop the pages of a document using Processor. To do this, load your document and then configure the page cropping parameters on a `Processor.Configuration` instance:

```swift

let document =...

guard let configuration = Processor.Configuration(document: document) else {
    print("Could not create a processor configuration. The document might be locked or invalid.")
    return
}

// Crop the page to 200x200 pt.
configuration.changeCropBoxForPage(at: 0, to: CGRect(x: 0, y: 0, width: 200, height: 200))

let processor = Processor(configuration: configuration, securityOptions: nil)
do {
    // Write the modified document. This can be used to initialize
    // and present a new Nutrient document.
    try processor.write(toFileURL: destinationURL)
} catch {
    print(error)
}

```

To learn more about how to define the crop box, consult our [coordinate space conversions](https://www.nutrient.io/guides/ios/faq/coordinate-spaces.md) guide.

Cropping pages with Processor is only available if you have the Document Editor component enabled in your license.
---

## Related pages

- [Move or copy PDF pages on iOS](/guides/ios/editor/page-manipulation/move-or-copy.md)
- [Removing pages from a PDF on iOS](/guides/ios/editor/page-manipulation/remove.md)
- [Rotating PDF pages on iOS](/guides/ios/editor/page-manipulation/rotate.md)
- [Scale or resize PDFs on iOS](/guides/ios/editor/page-manipulation/scale-or-resize.md)

