---
title: "Resize PDF on iOS  | Nutrient SDK"
canonical_url: "https://www.nutrient.io/guides/ios/editor/page-manipulation/scale-or-resize/"
md_url: "https://www.nutrient.io/guides/ios/editor/page-manipulation/scale-or-resize.md"
last_updated: "2026-05-30T02:20:01.313Z"
description: "Nutrient’s Processor class can be used to scale pages of a document."
---

# Scale or resize PDFs on iOS

Nutrient’s [`Processor`](https://www.nutrient.io/api/ios/documentation/pspdfkit/processor) class can be used to scale pages of a document.

The page scaling feature is only available if you have the [Document Editor component](https://www.nutrient.io/guides/ios/features/document-editor.md) enabled in your license.

Here’s how to scale pages via the `Processor` API:

### SWIFT

```swift

// Create a default configuration.
let configuration = Processor.Configuration(document: document)!

// Scale the page down to half its size.
let pageInfo = document.pageInfoForPage(at: page)!
let pageSize = pageInfo.size
let newPageSize = CGSize(width: pageSize.width / 2, height: pageSize.height / 2)
configuration.scalePage(page, to: newPageSize)

// Start the conversion from `document` to `scaledDocumentURL`.
let processor = Processor(configuration: configuration, securityOptions: nil)
try processor.write(toFileURL: scaledDocumentURL)

```

### OBJECTIVE-C

```objc

// Create a default configuration.
PSPDFProcessorConfiguration *configuration = [[PSPDFProcessorConfiguration alloc] initWithDocument:document];

// Scale the page down to half its size.
PSPDFPageInfo *pageInfo = [document pageInfoForPageAtIndex:page];
CGSize pageSize = pageInfo.size;
CGSize newPageSize = CGSizeMake(pageSize.width/2.f, pageSize.height/2.f);
[configuration scalePage:page toSize:newPageSize];

// Start the conversion from `document` to `scaledDocumentURL`.
PSPDFProcessor *processor = [[PSPDFProcessor alloc] initWithConfiguration:configuration securityOptions:nil];
[processor writeToFileURL:scaledDocumentURL error:NULL];

```
---

## Related pages

- [Move or copy PDF pages on iOS](/guides/ios/editor/page-manipulation/move-or-copy.md)
- [Cropping PDF pages on iOS](/guides/ios/editor/page-manipulation/crop.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)

