<!--
{
  "availability" : [
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PDFKit",
  "identifier" : "/documentation/PDFKit/PDFViewDelegate/pdfViewWillChangeScaleFactor(_:toScale:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "PDFKit"
    ],
    "preciseIdentifier" : "c:objc(pl)PDFViewDelegate(im)PDFViewWillChangeScaleFactor:toScale:"
  },
  "title" : "pdfViewWillChangeScaleFactor(_:toScale:)"
}
-->

# pdfViewWillChangeScaleFactor(_:toScale:)

Overrides changes to the scale factor.

```
optional func pdfViewWillChangeScaleFactor(_ sender: PDFView, toScale scaler: CGFloat) -> CGFloat
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)