MyGit

4.3.2

airbnb/lottie-ios

版本发布时间: 2023-09-27 01:48:13

airbnb/lottie-ios最新发布版本:4.5.0(2024-07-10 02:48:40)

Lottie 4.3.0 adds many new features, including:

You can learn more about Lottie 4.3.0 in this announcement: Lottie 4.3.0 now available, with official support for SwiftUI #2189

Lottie 4.3.2

Lottie 4.3.2 redesigns the LottiePlaybackMode playback APIs that were introduced in Lottie 4.3.0.

Before

// Loop from 0.5 to 1.0
LottieView(animation: myAnimation)
  .play(.fromProgress(0.5, toProgress: 1.0, loopMode: .loop))

// Pause at the halfway point of the animation
LottieView(animation: myAnimation)
  .play(.progress(0.5))

After

// Loop from 0.5 to 1.0
LottieView(animation: myAnimation)
  .playing(.fromProgress(0.5, toProgress: 1.0, loopMode: .loop))

// Pause at the halfway point of the animation
LottieView(animation: myAnimation)
  .paused(at: .progress(0.5))

New Features in Lottie 4.3.0

Bug fixes

Thanks to everyone who contributed to this release!

相关地址:原始地址 下载(tar) 下载(zip)

1、 Lottie.xcframework.zip 8.79MB

查看:2023-09-27发行的版本