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

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -