---
title: UIScreenshotService
framework: uikit
role: symbol
role_heading: Class
path: uikit/uiscreenshotservice
---

# UIScreenshotService

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

## Declaration

```swift
@MainActor class UIScreenshotService
```

## Overview

Overview When people take a screenshot of your app’s content, you work with a UIScreenshotService object to provide a PDF version of that screenshot. You don’t create a UIScreenshotService object directly. Instead, you retrieve the object from the 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. 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](uikit/uiscreenshotservice/delegate.md)
- [UIScreenshotServiceDelegate](uikit/uiscreenshotservicedelegate.md)

### Getting the current scene

- [windowScene](uikit/uiscreenshotservice/windowscene.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
