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

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -