LottieとUIViewPropertyAnimatorが干渉するときの対処法
LottieのanimationとUIViewPropertyAnimatorを同じタイミングもしくは続けて実行すると、アニメーションが干渉してLottieの方がうまく表示されない。
どうすればいいかというと、
LottieのAnimationViewとPropertyAnimatiorの対象Viewのview階層を分けて実行してあげると、タイミングが一緒でも両方きれいにアニメーションが表示される。
🐣
フリーランスエンジニアです。
お仕事のご相談こちらまで
[email protected]
Core MLを使ったアプリを作っています。
機械学習関連の情報を発信しています。
Author And Source
この問題について(LottieとUIViewPropertyAnimatorが干渉するときの対処法), 我々は、より多くの情報をここで見つけました https://qiita.com/john-rocky/items/23a24f5586ba841b5f9e著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .