Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
プロジェクトで CABasicAnimation を使用しています。repeatcount を使用しましたが、カウントが増えるたびに tovalue を変更したいのですが、助けてください。
toValueアニメーションが 1 サイクルを通過するたびに を変更する場合は、repeatCountを 1 のままにして、 を使用しanimationDidStop:finished:て、変更された で新しいアニメーションを作成する必要がありtoValueます。
toValue
repeatCount
animationDidStop:finished: