Open StackHelp opened 3 years ago
Try using WebImage(url:isAnimating:)
instead ?
This sounds like Apple banned UIViewRepresentable for WidgetKit. The AnimatedImage
use SDAnimatedImageView
, native UIKit for implemenetation.
@dreampiggy No, it's not working as well
Can you set breakpoint in
-[SDDisplayLink displayLinkDidRefresh:]
method ? (or -[SDAnimatedImagePlayer displayDidRefresh:]
)
I doubt, when using in WidgetKit envrionment, the CADisplayLink or NSTimer does not get any trigger.
@dreampiggy It's not going anywhere.
I have tried to put an animated image in the Home widget
But it's not working and not displaying anything. Does anything wrong here or Do anything I have to add to make it work?