This content was released on Feb 11 2020. The official support period is 6-months from this date.
Examine the View Hierarchy Debugger in Xcode. Then create a Core Graphics context, draw into it and extract an image.
This is a companion discussion topic for the original entry at https://www.kodeco.com/6485147-drawing-in-ios-with-swiftui/lessons/22