Hi all,
I am trying to get the following code from a book to work. It animates the layer of a UIImageView called the Chicken :
[CATransaction setValue:kCAMediaTimingFunctionEaseInEaseOut forKey:kCATransactionAnimationTimingFunction];
[CATransaction setValue:[NSNumber numberWithFloat:1.0] forKey:kCATransactionAnimationDuration];
theChicken.position = CGPointMake(225, 144);
The problem is that this code does not animate. It just moves the chicken to 225,144 with no animation at all (it just teleports there like magic). Can anyone help me correct the code so it works ?
Thanks in advance,
Martin