objective c - Use a UIPanGestureRecognizer to rotate view -
Is it possible to rotate a view using UIPanGestureRecognizer? I have similar functionality on rotation gesture but only with one finger.
Thank you.
Sure. But you have to calculate your rotation, of course. If you have a "focal point of rotation to the scene", which is particularly useful, because you can track the angle of the touch input in relation to the center, and the scene transform
property (Or whatever) when it is updated.
Comments
Post a Comment