iOS Question Put Slider in vertical

JanPRO

Well-Known Member
Licensed User
Longtime User
Hi, use:

B4X:
    Dim NaObj As NativeObject = Me

    NaObj.RunMethod("RotateView::",Array(Slider1,90))
'OR
    NaObj.RunMethod("RotateView::",Array(Slider1,270))

#If Objc
- (void)RotateView: (UIView *) View :(int) degree{
    View.transform = CGAffineTransformMakeRotation(M_PI*degree/180);
}
#End If
 
Upvote 0

Alessandra Pellegri

Active Member
Licensed User
Longtime User
I would like if possible position it like an usual control. But if I rotate it has suggested it moves and is not simply determine the correct position
 
Upvote 0
Top