I see that QQ Music has two nice widgets, one is the homescreen widget and the opposite is the lock display screen widget. When the app performs music, the homescreen widget will probably be an animation of the disc rotation. The lock display screen widget can have an animation of radar rotation.
I searched quite a lot of info. The iOS WidgetKit hardly helps rotating animation, and nearly all the animation API can’t be used within the WidgetKit. I’ve discovered some info that’s helpful _ClockHandRotationEffect
is a non-public API, however it could solely be used on xcode13. xcode14 has eliminated this personal API.
How one can implement these two rotation animations within the WidgetKit?