-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UIKit don't have createDotLottieView() method #24
Comments
hey @PollyVern can you try
Think the docs need updating |
@samuelOsborne I try this, but Xcode say: Ambiguous write of 'view()' |
thats looks like more of a swiftui style of doing things, I setup my uikit view like this:
|
@samuelOsborne I add your code in project. The situation persists. |
@PollyVern I think you might need to create a DotLottieAnimationView() and pass your model instead. This is what i'm using:
|
Yes, it worked! The trick was to explicitly assign the type:
Thanks |
Good afternoon. There is no method for UIKit -> createDotLottieView. I didn't find it in the library documentation either. How can I add animation?
The text was updated successfully, but these errors were encountered: