public interface UIScreenshotServiceDelegate
| Modifier and Type | Interface and Description |
|---|---|
static interface |
UIScreenshotServiceDelegate.Block_screenshotServiceGeneratePDFRepresentationWithCompletion |
| Modifier and Type | Method and Description |
|---|---|
default void |
screenshotServiceGeneratePDFRepresentationWithCompletion(UIScreenshotService screenshotService,
UIScreenshotServiceDelegate.Block_screenshotServiceGeneratePDFRepresentationWithCompletion completionHandler)
The delegate method to send the PDF data to screenshots
|
default void screenshotServiceGeneratePDFRepresentationWithCompletion(UIScreenshotService screenshotService, UIScreenshotServiceDelegate.Block_screenshotServiceGeneratePDFRepresentationWithCompletion completionHandler)
The delegate is required to send the data via the completion handler
screenshotService - The screenshot service object associated per scenecompletionHandler - The block to execute when the PDF data is ready.
If no PDF data is available, data can be nil. The indexOfCurrentPage is zero-based, and is the index of the current page of the snapshotted PDF. The rectInCurrentPage is the rect in PDF coordinates with respect to the current page. If the receiver cannot provide the visible area, pass CGRectZero for rectInCurrentPage.