I tested this out on my iPad with playgrounds 3.4, and for me, it also didn't work except that it said that there was a problem and check the code for mistakes. I added resizable and frame modifiers to the Image view which allowed it to load inside the app. For the image, I just added it using the blue plus in the upper right corner of the app.
Image(uiImage: #imageLiteral(resourceName: "Photo.png"))
.resizable()
.frame(width: 200, height: 200)
.clipShape(Circle())
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: