Background Image and canvas with pencilKit Swiftui
问题 I'm learning about PencilKit. I have a canvas, and I want to set a background image that we can draw on it. When I save my canvas, I want my background image to be visible But I have an error : Cannot convert value of type 'Image' to expected argument type 'UIImage?' Image("badmintoncourt") is an image from my assets I can't find out how to solve it, but I maybe not in the right way to add a background image to my canvas struct Home : View { @State var canvas = PKCanvasView() @Environment(\