I am running a keyFrame animation to move and flip a playing card view using CAKeyframeAnimation. is there any way to swap the cardFront and cardBack layers during the animation? or am i taking the wrong approach here...
use a timer set to half the animation duration to execute cardBack.contents = cardFront.contents
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more