Advertise here




Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Core animation translation

simonbesnersimonbesner Posts: 47Registered Users
edited November 2008 in iOS SDK Development
When you do a Core animation translation on an image, the image will accelerate at the beginning and then decelerate near the destination point.

Is there a way to get a constant speed for a core animation translation?
Post edited by simonbesner on
· ·

Replies

  • simonbesnersimonbesner Posts: 47Registered Users
    edited November 2008
    Answer to myself:

    Set the animation curve to linear:
    [UIView setAnimationCurve:UIViewAnimationCurveLinear];
    
    · ·
Sign In or Register to comment.