pageDescriptionProvider
Objective-C
@property (nonatomic, copy) NSString *_Nonnull (^_Nonnull) (PSPDFPageIndex, PSPDFDocument *_Nonnull) pageDescriptionProvider;
A closure that provides a string to describe each page in the page range picker.
The page range picker is shown for the option DocumentSharingConfiguration.PageOptions.range
.
The closure is passed the index of the page to be described and the document that is being shared.
Page indexes start at 0.
By default this returns a string displaying pageIndex + 1
.
Set this property to a custom closure to show the page label or any other custom description.
-
Undocumented
Declaration
Objective-C
- (NSString *_Nonnull (^_Nonnull)(PSPDFPageIndex, PSPDFDocument *_Nonnull)) pageDescriptionProvider;
-
Undocumented
Declaration
Objective-C
- (void)setPageDescriptionProvider: (NSString *_Nonnull (^_Nonnull)(PSPDFPageIndex, PSPDFDocument *_Nonnull)) pageDescriptionProvider;