How to animate in live activities?

How do you animate in live activities?

I've seen apps been able to update around 1 fps. For example with a character looping a dance animation.

How is this done?

I don't think you can call Activity.update() every second. Also it wouldn't run in the background all the time anyway?

Here's an example of Apple's own WWDC video with a bar animating https://imgur.com/a/yywW7a8

Replies

I want to know too!

the same as this