I'm trying to use this to rotate a panel 360 degrees. Works fine on Android. On iOS it seems to rotate to the closest. If you try to rotate to 350, it will rotate CCW 10 degrees. Android rotates CW to 350.
On b4a I do the following and it works as expected.
I can make it work on b4i doing the following, but I don't like it much.
Anyway, if this is intended behavior, I will just work around it. If not, I just wanted to let you know in case it needs to be fixed.
On b4a I do the following and it works as expected.
B4X:
Sub SwiftButton1_Click
stimback.SetRotationAnimated(2000, 360)
End Sub
I can make it work on b4i doing the following, but I don't like it much.
B4X:
Sub SwiftButton1_Click
stimback.SetRotationAnimated(1000, 180)
Sleep(1000)
stimback.SetRotationAnimated(1000, 360)
End Sub
Anyway, if this is intended behavior, I will just work around it. If not, I just wanted to let you know in case it needs to be fixed.