UITouch in landscape mode
Hi I usually do a search before I post a question but I don't seem to find any answer to this problem.
I have a simple code, what it does is one can touch a image in UIImageView to drag it around the screen. It works fine in portriat mode, but once i did it in landscape mode, ((interfaceOrientation == UIInterfaceOrientationLandscapeRight), the x and y coordinates seems to be reversed, for instance, in landscape mod, if I move the image up or down, it will go left or right, and if I move it left or right, the image will go up and down,
how do I fix this?
TIA
|