Hi,
I have a UIView subview that fills the lower half of the screen, and the UIView contains three UIImageViews.
I have processing that happens successfully when someone touches or drags anywhere in the UIView subview, but I don't want any touch events to trigger code if the touch happens outside of the UIView, in the upper half of the screen.
I discovered that if I set user interaction disabled in the main view that contains the UIView subview, then no events happen in the UIView subview either.
I can't figure out how to enable touch events just in the UIView subview but not on the entire screen. I hope I described my problem well enough.
/S
I have a UIView subview that fills the lower half of the screen, and the UIView contains three UIImageViews.
I have processing that happens successfully when someone touches or drags anywhere in the UIView subview, but I don't want any touch events to trigger code if the touch happens outside of the UIView, in the upper half of the screen.
I discovered that if I set user interaction disabled in the main view that contains the UIView subview, then no events happen in the UIView subview either.
I can't figure out how to enable touch events just in the UIView subview but not on the entire screen. I hope I described my problem well enough.
/S