I need to show a message that appears with animation and hide after a few seconds also with animation.
Does anyone know how this is possible?
Thank you very much for everything.
regards
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.
Its easy, try chaining your animations together. First fadeIn, then fadeOut. What below code does is first set
alphato 0. Then animate the appearance of the label in 1 sec. As soon as this is done, wait for 4 seconds, then start the fadeOut animation in the same manner.This way of chaining animation in iOS is one of the most effective ways to do so.