3.4.1
版本发布时间: 2022-07-27 05:21:14
airbnb/lottie-ios最新发布版本:4.5.0(2024-07-10 02:48:40)
General
New features
- Added
configuration: LottieConfiguration = .shared
option to moreAnimationView
initializers (https://github.com/airbnb/lottie-ios/pull/1654) -
AnimatedSwitch
andAnimatedButton
are now accessibility elements by default (https://github.com/airbnb/lottie-ios/pull/1637, https://github.com/airbnb/lottie-ios/pull/1639)
Bug fixes
- Fixed issue where
LottieLogger.shared.assertionFailure
would unexpectedly crash in-O
/ release builds (https://github.com/airbnb/lottie-ios/pull/1665) - Fixed Carthage support on macOS (https://github.com/airbnb/lottie-ios/pull/1641)
Core Animation rendering engine
Reminder: Lottie 3.4.0 added a new rendering engine powered by Core Animation. Please try it out and let us know if you encounter any issues! It will be enabled by default in a future version of Lottie. More information is available in this announcement: https://github.com/airbnb/lottie-ios/discussions/1627
New features
- Added support for mixed
isHold
/!isHold
keyframes (https://github.com/airbnb/lottie-ios/pull/1644) - Added support for gradients with alpha values (https://github.com/airbnb/lottie-ios/pull/1634, https://github.com/airbnb/lottie-ios/pull/1640)
- Added support for negative speed values (https://github.com/airbnb/lottie-ios/pull/1660)
Bug fixes
- Fixed issue where
ShapeLayer
with noGroup
s would fail to render (https://github.com/airbnb/lottie-ios/pull/1646) - Fixed issue where some shape fills would be applied incorrectly (https://github.com/airbnb/lottie-ios/pull/1647)
- Fixed issue where
LottieBackgroundBehavior
would unexpectedly be applied even when the animation was paused (#1653)