Just show it for 1 second and hide once! Thanks!
Post
Replies
Boosts
Views
Activity
It worked perfect, thank you very much. You are correct, the function was not nested, I just forgot to close viewDidLoad() when I was copying the code in the forum.
Besides knowing that it works, I would like to understand well how the code works. When I execute the function, the button appears (hidden = false) and then I have an animation that in a certain time (1s) varies the alpha from 1 to 0, upon completion it returns the value to 1 (thanks to you) and maintains I hide the image ( hidden = true ). It is right?