From 7c9a293ad9e6c8807914af4fa17b5fb7d1cd51ec Mon Sep 17 00:00:00 2001 From: Arnfried Griesert Date: Mon, 24 Oct 2022 11:28:47 +0200 Subject: [PATCH] Removed frames from lottie animation --- bwi/LottieAnimation/BUMLaunchLoadingViewController.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bwi/LottieAnimation/BUMLaunchLoadingViewController.swift b/bwi/LottieAnimation/BUMLaunchLoadingViewController.swift index 967fc1208..27ea19b0e 100644 --- a/bwi/LottieAnimation/BUMLaunchLoadingViewController.swift +++ b/bwi/LottieAnimation/BUMLaunchLoadingViewController.swift @@ -32,7 +32,9 @@ class BUMLaunchLoadingViewController: UIViewController { let animationView = LottieAnimationView(name: "bum_lottie_animation") animationView.loopMode = .playOnce animationView.contentMode = .scaleAspectFit - animationView.play() + animationView.play(toFrame: 35) {_ in + animationView.play(fromFrame: 55, toFrame: 132) + } view.addSubview(animationView)