swiftui – How do you animate a lock display widget on iOS 16?

0
23

[ad_1]

In iOS 16, Lock display widgets will let you add an Picture to the WidgetView, like in accessoryCircular.

How do you animate this Picture? Loading the Picture from an animated UIImage with frames simply shows the primary body.

Am I lacking a startAnimating name, like it’s important to do with WKInterfaceObjects? Is there some extra step or worth to set to get an Picture inside a SwiftUI WidgetView to start animating, or biking via frames?

Examples of apps which have achieved this are https://www.livelywidget.com or Pixel Pal, so I do know it is potential, however after I seek for APIs to perform this, all that comes up are apps.

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here