---
title: "PDF editor library for iOS — Merge, rotate, crop | Nutrient"
canonical_url: "https://www.nutrient.io/guides/ios/features/document-processing/"
md_url: "https://www.nutrient.io/guides/ios/features/document-processing.md"
last_updated: "2026-05-21T11:22:21.609Z"
description: "Nutrient provides a wide range of APIs for document editing operations. These are mostly available through the Processor and PDFDocumentEditor classes:."
---

# PDF editor library for iOS

Nutrient provides a wide range of APIs for document editing operations. These are mostly available through the [`Processor`](https://www.nutrient.io/api/ios/documentation/pspdfkit/processor) and [`PDFDocumentEditor`](https://www.nutrient.io/api/ios/documentation/pspdfkit/pdfdocumenteditor) classes:

- [`Processor`](https://www.nutrient.io/api/ios/documentation/pspdfkit/processor) performs operations with an input and an output, where the output is typically a PDF document. Many processing operations involve editing an input document — for example, deleting pages. This is the most flexible API and is typically the best choice.

- [`PDFDocumentEditor`](https://www.nutrient.io/api/ios/documentation/pspdfkit/pdfdocumenteditor) tracks the state that would be required to build a document editing user interface. This is useful because it’d be very inefficient to run [`Processor`](https://www.nutrient.io/api/ios/documentation/pspdfkit/processor) to generate a complete document every time a user drags a page to change the page order, because the user might make additional edits. The Document Editor supports undo and redo. We use this class to power our [document editing UI](https://www.nutrient.io/guides/ios/features/document-editor-ui.md), but it may also be used programmatically. See our [Document Editor API usage guide](https://www.nutrient.io/guides/ios/features/document-editor.md) to learn more.

All operations with [`PDFDocumentEditor`](https://www.nutrient.io/api/ios/documentation/pspdfkit/pdfdocumenteditor) and _editing_ operations with [`Processor`](https://www.nutrient.io/api/ios/documentation/pspdfkit/processor) (such as adding and moving pages) are only available if you have the [Document Editor component](https://www.nutrient.io/guides/ios/features/document-processing.md) enabled for your license. Review our API reference for details.

The available editing operations include:

- [Split](https://www.nutrient.io/guides/ios/editor/split.md) or [merge](https://www.nutrient.io/guides/ios/editor/merge-or-combine.md) documents

- [Rotate](https://www.nutrient.io/guides/ios/editor/page-manipulation/rotate.md), [crop](https://www.nutrient.io/guides/ios/editor/page-manipulation/crop.md), or [scale](https://www.nutrient.io/guides/ios/editor/page-manipulation/scale-or-resize.md) pages

- [Rearrange (move) or copy pages](https://www.nutrient.io/guides/ios/editor/page-manipulation/move-or-copy.md)

- [Remove pages](https://www.nutrient.io/guides/ios/editor/page-manipulation/remove.md)

- [Add new pages](https://www.nutrient.io/guides/ios/editor/add-page.md) (choose from various patterns, a blank page, or an [image](https://www.nutrient.io/guides/ios/editor/add-image.md))

- [Attach a file](https://www.nutrient.io/guides/ios/editor/attach-a-file.md)

- [Add a watermark](https://www.nutrient.io/guides/ios/editor/watermark.md)

- [Edit metadata](https://www.nutrient.io/guides/ios/customizing-pdf-pages/customizing-document-metadata.md), including the [document title](https://www.nutrient.io/guides/ios/customizing-the-interface/changing-the-document-title.md)

- [Change document permissions](https://www.nutrient.io/guides/ios/editor/document-permissions.md)

In addition to the editing operations listed above, [`Processor`](https://www.nutrient.io/api/ios/documentation/pspdfkit/processor) may also be used to [flatten annotations](https://www.nutrient.io/guides/ios/annotations/flatten.md), [flatten forms](https://www.nutrient.io/guides/ios/forms/flatten.md), [convert HTML to PDF](https://www.nutrient.io/guides/ios/conversion/html-to-pdf.md), [convert Microsoft Office files to PDF](https://www.nutrient.io/guides/ios/features/office-conversion.md), and [create password-protected documents](https://www.nutrient.io/guides/ios/pdf-generation/password-protected-pdf.md).
---

## Related pages

- [Add pages to PDF files on iOS](/guides/ios/editor/add-page.md)
- [How to attach files to PDFs on iOS](/guides/ios/editor/attach-a-file.md)
- [Add and insert images into PDFs on iOS](/guides/ios/editor/add-image.md)
- [iOS PDF editor API usage](/guides/ios/features/document-editor.md)
- [Customizing PDF editing permissions on iOS](/guides/ios/editor/document-permissions.md)
- [Edit text in PDFs on iOS](/guides/ios/editor/edit-text.md)
- [Merge multiple PDF files on iOS](/guides/ios/editor/merge-or-combine.md)
- [Adding watermarks to PDFs on iOS](/guides/ios/editor/watermark.md)
- [Split PDFs on iOS](/guides/ios/editor/split.md)

