Hello, while creating the sample app I found a message in the debugger: Widget archival failed due to image being too large [1] - (6000, 4000), totalArea: 24000000 > max[2121055.200000]. Can you provide a table, what is the limit or how to calculate it? I found that this limit is different for all my devices. Now I use a magic number = 3.6. It is not the scale of the device screen, but something else. //ipad 10 sqrt(13.54) ~ sqrt(13) ~ 3.6 //iphone 16 pro sqrt(18.5) ~ 4.3 //iphone SE sqrt(17.59) ~ 4.1 And it is better to have documentation about it. And the archiving of images in the widget is not very fast. Especially it becomes a problem when using a long timeline. Even if the image is the same for all parts of the timeline, archiving is slow.
Topic:
App & System Services
SubTopic:
Widgets & Live Activities
Tags: