General
New features
- Added
configuration: LottieConfiguration = .shared
option to moreAnimationView
initializers (#1654) AnimatedSwitch
andAnimatedButton
are now accessibility elements by default (#1637, #1639)
Bug fixes
- Fixed issue where
LottieLogger.shared.assertionFailure
would unexpectedly crash in-O
/ release builds (#1665) - Fixed Carthage support on macOS (#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: #1627
New features
- Added support for mixed
isHold
/!isHold
keyframes (#1644) - Added support for gradients with alpha values (#1634, #1640)
- Added support for negative speed values (#1660)