Hi-
I have a view that I rotate 90 degrees when the phone flips to the left landscape orientation. This is done automatically by shouldAutorotateToInterfaceOrientation.
At that point when I click on the rotated view, hitTest is accurate, as the coordinates for that view have automatically been updated by something under the hood.
However, if i then move that view, the coordinates are off. It seems that it forgot that it's rotated. If I touch on the view, hitTest doesn't think I'm on the view, but if I touch above the view it think it's been hit.
I tried setting the rotation again after the move to see if it would update the coordinates, but that didn't help.
Any ideas?
Thanks in advance!
I have a view that I rotate 90 degrees when the phone flips to the left landscape orientation. This is done automatically by shouldAutorotateToInterfaceOrientation.
At that point when I click on the rotated view, hitTest is accurate, as the coordinates for that view have automatically been updated by something under the hood.
However, if i then move that view, the coordinates are off. It seems that it forgot that it's rotated. If I touch on the view, hitTest doesn't think I'm on the view, but if I touch above the view it think it's been hit.
I tried setting the rotation again after the move to see if it would update the coordinates, but that didn't help.
Any ideas?
Thanks in advance!