iOS Question AnimationCompleted

ykucuk

Well-Known Member
Licensed User
Longtime User
Hello,

AnimationCompleted does not fire after animation completed(3 sec)
Any help ?


B4X:
imgSplash.SetAlphaAnimated(3000,1)

Sub imgSplash_AnimationCompleted
Log("animation completed.")
End sub
 

ilan

Expert
Licensed User
Longtime User
as far as i know there is no AnimationCompleted for such an animation
but you could use Sleep(3000) and then do what ever you want

B4X:
imgSplash.SetAlphaAnimated(3000,1)
Sleep(3000)
'do here what you want or call sub like:
imgSplash_AnimationCompleted
 

Sub imgSplash_AnimationCompleted
Log("animation completed.")
End Sub
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…