iOS Question How to add a graphic spinning wheel?

jaraiza

Active Member
Licensed User
Longtime User
Hi everyone,

I need to add a spinning wheel to an app:

example1.gif


Anyone can point me to the right direction to accomplish that?

Thanks!
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0

jaraiza

Active Member
Licensed User
Longtime User
@Erel After trying some of your suggestions (and being lost)... Shouldn't I be trying with iGameView or iSpriteKit?
 
Upvote 0

jaraiza

Active Member
Licensed User
Longtime User
Ok, I found this in another post and works partially...


B4X:
Dim xview As B4XView
xview = imgRuleta 'iXUI library
xview.SetRotationAnimated(100, 180)

But it doesn't seem to work so well (or I don't understand how it works). I haven't been able to make it to do a 360º turn, even using 360 or 359.

Also, after using 'xview.SetRotationAnimated(100, 180)' each consecuent button click does nothing, I need to set it to 0 again before clicking again.

Edit: In fact, it seems any combination of values always do the same :eek:

Thanks for any help!!
 
Last edited:
Upvote 0
Top