Using Images in Live Activities
mainLive Activity views support image display via two specific fields in the state (or content-state) object:
imageNamedynamicIslandImageName
Supported Values:
- Asset Name: A string mapping to a local asset name.
- Remote URL: A URL to a remote image.
Important Requirements for Remote URLs:
- Currently, remote URLs are only supported via the API (push notification support for remote URLs is planned).
- Using remote URLs requires adding the "App Groups" capability to both the "main app" and "Live Activity" targets.