View Full Version : What happens to the frame of an image view after rotation?

Jan 27, 2011, 02:18 PM
So I have a basic understanding of geometry with angles, rotations, and such, and I'm trying to make a diagonal line that receives touch by a certain frame. I have something like this to make the diagonal line:


After the transformation, the frame becomes "undefined and therefore should be ignored" (according to UIView class reference). So, without use of the frame, how can I pick up when a users finger crosses over the line in the touchesMoved method? Also, the bounds size property is kind of limited due to the fact that it is based off the center and not the origin. Is there any way around this?