---
title: allowsMultipleSelection
framework: pdfkit
role: symbol
role_heading: Instance Property
path: pdfkit/pdfthumbnailview/allowsmultipleselection
---

# allowsMultipleSelection

Returns a Boolean value indicating whether users can select multiple thumbnails in the thumbnail view at one time.

## Declaration

```swift
var allowsMultipleSelection: Bool { get set }
```

## Return Value

Return Value true if users can select multiple thumbnails simultaneously, false otherwise.

## Discussion

Discussion By default, PDFThumbnailView allows only a single thumbnail to be selected at one time. When this is the case, you can get the PDF page that corresponds to the selected thumbnail using the PDFView method currentPage. When multiple selections are enabled, however, you must use selectedPages to get the pages that correspond to the set of selected thumbnails.

## See Also

### Managing the Behavior of a Thumbnail View

- [allowsDragging](pdfkit/pdfthumbnailview/allowsdragging.md)
- [selectedPages](pdfkit/pdfthumbnailview/selectedpages.md)
