What happens to the frame of an image view after rotation?

Discussion in 'iOS Programming' started by drf1229, Jan 27, 2011.

  1. drf1229 macrumors regular


    Jun 22, 2009
    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?

Share This Page