Methods you use to generate PDF data that accompanies a user-requested screenshot.
- iOS 13.0+
- Mac Catalyst 13.0+
- tvOS 13.0+
When the user captures a screenshot of your app's windows, UIKit calls the methods of this protocol to retrieve PDF data for those windows, and then it then provides that data to the user. Adopt this protocol in a custom object of your app, and assign that object to the
UIScreenshot object associated with one of your window scenes. Use your custom delegate object to generate PDF content for the windows in the associated window-scene object.