Hi,
How could I implement continuous rotating and alpha animations like in B4A?
According to the
Apple docs, these should be possible on iOS as well.
Any chance that these will be available in B4I just as with the Animation API in B4A?
If not, is it possible to add these via inline Obj-C code?
I wouldn't want to use timers, as I guess the graphics wouldn't be as smooth as with the native API.
These are the animations in B4A I would like to use in B4i:
Dim spinanimation As Animation
spinanimation.InitializeRotateCenter("", 0, 360, imgview)
spinanimation.Duration = 1000
spinanimation.RepeatCount = -1
spinanimation.RepeatMode = spinanimation.REPEAT_RESTART
spinanimation.Start(imgview)
spinanimation.Stop(imgview)
Dim alphaanimation As Animation
alphaanimation.InitializeAlpha("", 1, 0.2)
alphaanimation.Duration = 600
alphaanimation.RepeatCount = -1
alphaanimation.RepeatMode = alphaanimation.REPEAT_REVERSE
alphaanimation.Start(imgview)
alphaanimation.Stop(imgview)
Thank you!