How do you pause and resume UIView Animations? (without block animations)
I was having the hardest time figuring this out, so here is my source below on how to do it.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
How to pause and resume UIView Animations:
This will cover how to do the above without block animations. (People do still wish to support 3.0 and up).
This only allows for pausing once the animation has met the set location. For how to pause an animation in the middle of an animation, i suggest using CALayers as such:
Now for the actually how to: