Reputation: 12444
I am doing a basic UIView animation using block code. I am simply moving a UIImageView from one frame point to another. The problem is when the UIImageView is nearing the end of the animation, it slows down from it usual rate which I do not want. Is there any reason for this? How can I fix this?
Thanks!
Upvotes: 4
Views: 1084
Reputation: 2961
Assuming you are using animateWithDuration:delay:options:animations:completion:
you can set what is known as the animation curve as one of the values in the options parameter. I believe by default it is set to ease in & out which is what you are seeing. Check out all of your options here.
Upvotes: 4