I'm trying to spin an circle image based on user swipe.Now I've done by considering the as two parts. one is the left side and other is the right side. If the user swipes down from right half means it rotates clockwise and swipe up means anti clock wise. In left side I've done the vice versa. So now my image will rotate fine only when I touch the left and right half.. on touching top and bottom .. its behaving differently. I've even tried ny calculating the radians.. its also not working Can any one suggest me to identify clockwise or anticlock wise in a better way...
Thank u, Lakshmi jones