2021年4月7日星期三

Issue with image not found in bundle for app

I have the following images all in the Assets.xcassets as seen below in the screen shot

enter image description here

But it can not display the image when i reference it as suck in the view

Image("hTeams/\(game.homeTeam)")      .resizable()      .aspectRatio(contentMode: .fit)      .frame(width: 215, height: 192)  

I am not sure why !?

Does anyone know what I need to do in order to resolve this?!

https://stackoverflow.com/questions/66996051/issue-with-image-not-found-in-bundle-for-app April 08, 2021 at 09:08AM

没有评论:

发表评论