Scrollable PKCanvasView with SwiftUI subview

I found this question on stackoverflow with this source code as possible solution.

How can I use a SwiftUI view instead of a UIImageView as underlayView?

I tried to replace the UIImageView with a UIView and converted my SwiftUI view with a UIHostingController to a UIView but this UIView was then invisible in the PKCanvasView.

Scrollable PKCanvasView with SwiftUI subview
 
 
Q