I'm new to Lottie library and trying to integrate a simple animation. I have my animated json at folder Resources->Json->LottieAnimations->checkMark.json
I have installed Lottie via pod install and its current version is 3.1.0.
In my storyboard I have added a view and gave the class name as AnimationView
and in the interface builder gave the Animation Name as "checkMark".
This is the outlet
@IBOutlet weak var checkMarkAnimationView: AnimationView!
And on viewDidLoad I just call
checkMarkAnimationView.play()
But nothing happens here. Am I missing something?