SwiftUI Image not shown in xcode preview canvas

835 views Asked by At

I have added custom target as a framework to use in my codebase. I can't see image in preview canvas. When I run in simulator, image is there.

enter image description here enter image description here

VStack(alignment: .leading) {
        Text("Hello World")
        Image("icon_star")
        .resizable()
        .renderingMode(.original)
        .frame(width: 14, height: 14)

    }.background(Color.white)

Any suggestion

Thanks

0

There are 0 answers