<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 13.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIScreenshotService",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIScreenshotService"
  },
  "title" : "UIScreenshotService"
}
-->

# UIScreenshotService

An object that coordinates the creation of PDF screenshots of an app’s content.

```
@MainActor class UIScreenshotService
```

## Overview

When people take a screenshot of your app’s content, you work with a [`UIScreenshotService`](/documentation/UIKit/UIScreenshotService) object to provide a PDF version of that screenshot. You don’t create a [`UIScreenshotService`](/documentation/UIKit/UIScreenshotService) object directly. Instead, you retrieve the object from the [`screenshotService`](/documentation/UIKit/UIWindowScene/screenshotService) property of your window scene and assign a delegate to it. Then when people take a screenshot, UIKit asks your delegate for the PDF data.

For information about how to provide the PDF data, see [`UIScreenshotServiceDelegate`](/documentation/UIKit/UIScreenshotServiceDelegate).

> Tip:
> Beginning in iOS 17 and iPadOS 17, people have the option to share or save the generated full page screenshot as a PDF or an image.

## Topics

### Responding to screenshot requests

[`delegate`](/documentation/UIKit/UIScreenshotService/delegate)

The custom object you use to provide PDF data for a screenshot.

[`UIScreenshotServiceDelegate`](/documentation/UIKit/UIScreenshotServiceDelegate)

Methods you use to generate PDF data that accompanies a user-requested screenshot.

### Getting the current scene

[`windowScene`](/documentation/UIKit/UIScreenshotService/windowScene)

The window scene that contains the windows to capture in your PDF data.

## Relationships

### Conforms To

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)