---
title: delegate
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiscreenshotservice/delegate
---

# delegate

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

## Declaration

```swift
weak var delegate: (any UIScreenshotServiceDelegate)? { get set }
```

## Discussion

Discussion Assign an object to this property early in the life cycle of your window scene. The object must conform to the UIScreenshotServiceDelegate protocol.

## See Also

### Responding to screenshot requests

- [UIScreenshotServiceDelegate](uikit/uiscreenshotservicedelegate.md)
