These are .NET 9 bindings for the newest Swift version of Lottie iOS v4.5.2 (May 2025)
Install QotoQot.Bindings.Lottie.iOS from Nuget, add YourAnimation.json into Resources/ in your iOS project, and then in your code:
using QotoQot.Bindings.Lottie.iOS;
…
var yourAnimation = new CompatibleAnimation("YourAnimation", null, NSBundle.MainBundle);
var animationView = new CompatibleAnimationView(yourAnimation);
currentView.AddSubview(animationView);
animationView.Play();See this blog post for the step-by-step guide on how to create bindings from scratch in .NET 9 and Xcode 16.
Get the sources from Github or the package from Nuget.