Pausing an animation
Pausing an animation
- Subject: Pausing an animation
- From: Gabriel Zachmann via Cocoa-dev <email@hidden>
- Date: Tue, 17 Sep 2019 22:19:23 +0200
I have a layer with two animations.
I would like to pause this animation occasionally .
To do so, I set layer.speed = 0.0;
In the past, this has worked (with slightly different animations).
However, in this case, the layer seems to just disappear.
(the layer occupies the whole screen, and when I set speed-0, the screen is
black)
Does anyone have an idea what might be the reason why it doesn't work?
Are there properties that do not work with speed = 0?
Thanks a lot in advance.
Gabriel.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden