Take screenshot of swiftUI View

Is there a way to convert a swiftUI View into an Image that can then be shared by the user?
Also looking for a solution here 🙋🏼‍♂️

One year later, another dev also gets into the waiting line...

Take screenshot of swiftUI View
 
 
Q