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

# windowScene

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

## Declaration

```swift
weak var windowScene: UIWindowScene? { get }
```

## Discussion

Discussion Use this property to access the window scene containing the relevant content.
