An opaque data object that contains the drawing information captured by a canvas view.
- iOS 13.0+Beta
- macOS 10.15+Beta
PKDrawing object stores the user-drawn content from a
PKCanvas object. You use drawing objects to store the data associated with your user’s drawings. You can save this data with the rest of your app’s content, and you can use that saved data to create a new drawing object later. You can also generate an image based on the drawn content.