I have two UIViews, one inside the other. I have two imageviews, one in each view. Is it possible to detect the intersection of the two imageviews? Any advice is greatly appreciated!
Since you said the two imageViews have different parent views, you'll also need to call convertRect:fromView: at some point to convert one of the frames into the other's coordinate system. Remember that a UIView's frame/position/center is relative to its parent, not in pure screen coordinates.
Since you said the two imageViews have different parent views, you'll also need to call convertRect:fromView: at some point to convert one of the frames into the other's coordinate system.