Why doesn't a key path of bounds.origin.x work with CAKeyframeAnimation?

281 views Asked by At

I've got this working just fine by using bounds.size.width or bounds.size.height but nothing happens when using bounds.origin.x or bounds.origin.y

The values array is [NSNumber numberWithFloat:] as works with width and height.

1

There are 1 answers

3
martinjbaker On

Turns out that this just isn't animatable. I discovered that animating position.x or position.y was the way to go.