Multiple animations
dotLottie animations can contain multiple animations inside them.
List all of the animations contained inside your .lottie:
let anim = DotLottieAnimation(fileName: "...", config: AnimationConfig(...))
print(anim.manifest()?.animations)
Play a specific animation by id:
let anim = DotLottieAnimation(fileName: "...", config: AnimationConfig(...))
anim.loadAnimationById("next_animation")