rive-app / rive-ios

iOS runtime for Rive
MIT License
484 stars 55 forks source link

Enable Repeat Animation Plays #187

Closed duncandoit closed 2 years ago

duncandoit commented 2 years ago

Changed how RiveViewModel's .play() operates to allow it re-play an animation when it has completed. SwiftSimpleAnimation.swift is the testbed for the playback functionality -- containing play, pause, stop and reset controls.

Are the behaviors of these controls consistent with the other platforms?