Which Version of Lottie are you using?
Lottie 4.3.3
Expected Behavior
remove animation
let view = LottieAnimationView()
view.animation = nil
https://github.com/airbnb/lottie-ios/blob/45517c3cfec9469bbdd4f86e32393c28ae9df0bc/Sources/Public/Animation/LottieAnimationLayer.swift#L1149C3-L1149C3
Why not set the LottieAnimationLayer.rootAnimationLayer to nil? The rootAnimationLayer will continue reloadImages