I can't achieve to display images from asset in live activities & dynamic island widgets.
It's work very well with icon but not with image from asset or from UIImage (via Data).
This works:
Image(systemName: "timer")
This NOT work:
Image("pizza")
My App asset looks like:
I copied asset in the extension:
The live activity notification is not created when I add the Image from asset. Any help would be appreciated!
What I tried & not working:
- Move asset from main app to extension
- Load image from Data
- Specify fixed sized of the image
I found the issue, Image need to be in a small resolution to be displayed in your live activity/dynamic island.
Data must be lower or equal than 4kb, here is the official Apple doc: