Instance Property

screenshotService

An object that generates screenshots of your app's content.

Declaration

var screenshotService: UIScreenshotService? { get }

Discussion

When you want to make your scene content available in PDF format, supply a delegate to the UIScreenshotService object in this property. When the user takes a screenshot involving your scene, the screenshot service asks your delegate to provide the associated PDF data. Your delegate object must conform to the UIScreenshotServiceDelegate protocol.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software