Open Nookaraju opened 5 months ago
hey @Nookaraju it might be due to the layer effect being not supported as per the console logs, could you share the animation with me please?
@Nookaraju Could you show your view code please, how you're displaying the animation
also does it crash on every launch or occasionally?
@samuelOsborne
var simpleVM = DotLottieAnimation(fileName: "Infor_END TAG_NoGrid", config:AnimationConfig(autoplay: true, loop: true)) let loaderView: DotLottieAnimationView = simpleVM.view() loaderView.translatesAutoresizingMaskIntoConstraints = false animateView.addSubview(loaderView) MGUtil.anchorSubView(loaderView, toOccupySuperView: animateView, withInset: UIEdgeInsets.zero)
Every launch, it is crashing.
hi @Nookaraju I used your way of instantiating the player and its running, except that I didnt use
MGUtil.anchorSubView(loaderView, toOccupySuperView: animateView, withInset: UIEdgeInsets.zero)
and used instead
loaderView.frame = view.bounds
Would you be able to share your animation? If possible a full reproducible snippet would be great too please