Can I setup a function to be called once my animation is complete? I want to fade a UIView and then remove it from the superView.
Can I setup a function to be called once my animation is complete? I
Share
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.
Yes, that’s easy:
When you configure your animation
And define your method like:
Doesn’t have to be
selfand that method, of course.