Contents

allowsMultipleSelection

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

Declaration

var allowsMultipleSelection: Bool { get set }

Return Value

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

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