<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.5.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PDFKit",
  "identifier" : "/documentation/PDFKit/PDFThumbnailView/selectedPages",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "PDFKit"
    ],
    "preciseIdentifier" : "c:objc(cs)PDFThumbnailView(py)selectedPages"
  },
  "title" : "selectedPages"
}
-->

# selectedPages

Returns an array of PDF pages that correspond to the selected thumbnails in the thumbnail view.

```
var selectedPages: [PDFPage]? { get }
```

## Return Value

An array of PDF pages that correspond to the thumbnails selected in the thumbnail view.

## Discussion

If the thumbnail view allows multiple selections (if [`allowsMultipleSelection`](/documentation/PDFKit/PDFThumbnailView/allowsMultipleSelection) returns <doc://com.apple.documentation/documentation/Swift/true>), you can use this method to get the PDF pages that correspond to the selected thumbnails.

---

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)