Lottie-ios: Feature request: replace animation layer with UIView

Created on 4 Apr 2017  路  2Comments  路  Source: airbnb/lottie-ios

I want to incorporate some native UI controls into an animation, to have them pop and scale out of an animation and finish at full size.

Would it be possible to replace an animation layer with a UIView, having captured it with snapshot鈥媀iew鈥婣fter鈥婼creen鈥婾pdates:?

Thank you for an amazing library 馃憤

enhancement

Most helpful comment

This now works in V2 of lottie!

All 2 comments

We currently offer partial support for this through the - (void)addSubview:(nonnull LOTView *)view toLayerNamed:(nonnull NSString *)layer; function. Currently the layer added is only masked by the after effects layer specified, but we are working to add motion suppport as well.

This now works in V2 of lottie!

Was this page helpful?
0 / 5 - 0 ratings