Contents

QLPreviewControllerDataSource

The protocol that a data source for a preview controller needs to adopt to provide preview items to the controller.

Declaration

@MainActor protocol QLPreviewControllerDataSource

Overview

Besides providing a QLPreviewController with items to preview, this protocol is responsible for telling the preview controller how many items it needs to include in a preview item navigation list.

Topics

Providing data to a preview controller

See Also

Configuring a preview controller