Reputation: 239
I want to rotate an UIView using CGAffineTransform and I'm able to rotate View using CGAffineTransform.
But I want to rotate UIView smoothly on finger touch based on swipe gestures.
So like right swipe, left swipe I was able to detect swipe but when I swipe from down to right or from down to left, I'm not able to detect swipe gesture of these types...
Upvotes: 1
Views: 1690
Reputation: 10011
Sanjay these are the only allowable gestures that a iPhone supports
so I think you are trying to recognize a diagonal swipe gesture and the its not working.
and also there is a minimum numberOfTouchesRequired required for swipe gesture.
And if you want to rotate a UIView object than I think you will find the code in this link
Hope this helps.
Upvotes: 2