how to know the direction of rotation of UIImage in iPhone

Posted by suse on Stack Overflow See other posts from Stack Overflow or by suse
Published on 2010-05-24T10:04:09Z Indexed on 2010/05/24 10:31 UTC
Read the original article Hit count: 173

Filed under:
|
|

hello,

i want to rotate the uiimage in the direction turned, i'm able to get the angle between touchesBegan and TouchesEnd points but how should i decide whether to rotate cockwise or anti-clockwise? Plz help

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uiimageview