Sorry if this is not the right place, but I've looked everywhere and couldn't find an answer.
As the title says, I'm wondering if I can use an SVG image and display it in the live activity?
I currently have an implementation that works fine with .png, but I'm not able to make it display .svg?
This is how the code looks like:
if let venueImageAssest = UIImage(contentsOfFile: venueImage)
{
Image(uiImage: venueImageAssest)
.resizable()
}
venueImage is currently an LiveActivityImageFromUrl
Sorry if this is not the right place, but I've looked everywhere and couldn't find an answer.
As the title says, I'm wondering if I can use an SVG image and display it in the live activity? I currently have an implementation that works fine with .png, but I'm not able to make it display .svg?
This is how the code looks like:
venueImage
is currently anLiveActivityImageFromUrl
Any help is much appreciated, thanks!