You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since our main app is based on SwiftUI, we are using a wrapper around LottieAnimationView. However, we have also tried using the SwiftUI version of LottieView, and we have attempted the solutions suggested in other issues, including changing the RenderingEngine. Unfortunately, the problem persists.
Thank you for always providing such a great library.
import Lottie
import SwiftUI
struct CustomLottieView: UIViewRepresentable {
var animationFileName: String
let loopMode: LottieLoopMode
Which Version of Lottie are you using?
Lottie 4.4.3
Expected Behavior
2024-05-16.5.02.25.mov
Actual Behavior
2024-05-16.4.59.57.mov
Animation JSON
Lottie Animation Link
doubleSpinner.json
Code
Since our main app is based on SwiftUI, we are using a wrapper around
LottieAnimationView
. However, we have also tried using the SwiftUI version ofLottieView
, and we have attempted the solutions suggested in other issues, including changing theRenderingEngine
. Unfortunately, the problem persists.Thank you for always providing such a great library.
import Lottie
import SwiftUI
struct CustomLottieView: UIViewRepresentable {
var animationFileName: String
let loopMode: LottieLoopMode
}
#if DEBUG
#Preview {
CustomLottieView(animationFileName: "doubleSpinner",
loopMode: .loop)
.frame(width: 200, height: 200)
}
#endif
The text was updated successfully, but these errors were encountered: