PSPDFDocumentSharingPagesOptions
Objective-C
NS_OPTIONS(NSUInteger, PSPDFDocumentSharingPagesOptions) {
/// Only the page set in `pageIndex` of `PDFViewController`.
/// I.e. the first page of the spread in the center of the viewport.
PSPDFDocumentSharingPagesOptionCurrent = 1 << 0,
/// Let the user select a range of pages to share.
PSPDFDocumentSharingPagesOptionRange = 1 << 1,
/// Send the whole document.
PSPDFDocumentSharingPagesOptionAll = 1 << 2,
/// Share all pages that contain annotations.
PSPDFDocumentSharingPagesOptionAnnotated = 1 << 3
}
Swift
struct PageOptions : OptionSet, @unchecked Sendable
Undocumented
-
Only the page set in
pageIndex
ofPDFViewController
. I.e. the first page of the spread in the center of the viewport.Declaration
Objective-C
PSPDFDocumentSharingPagesOptionCurrent = 1 << 0
Swift
static var current: DocumentSharingConfiguration.PageOptions { get }
-
Let the user select a range of pages to share.
Declaration
Objective-C
PSPDFDocumentSharingPagesOptionRange = 1 << 1
Swift
static var range: DocumentSharingConfiguration.PageOptions { get }
-
Send the whole document.
Declaration
Objective-C
PSPDFDocumentSharingPagesOptionAll = 1 << 2
Swift
static var all: DocumentSharingConfiguration.PageOptions { get }
-
Share all pages that contain annotations.
Declaration
Objective-C
PSPDFDocumentSharingPagesOptionAnnotated = 1 << 3
Swift
static var annotated: DocumentSharingConfiguration.PageOptions { get }