UIImageView touch events not firing?
I have a custom UIImageView in which I capture touch events to do some drawing. I add it as a subview to my view controller and everything works fine. Now I would like to also add a UITextView as a subview. Once I do that my UIImageView no longer receives touch events.Pushing the UITextView to the back of the view hierarchy doesn't help.
What I'm trying to do is create a composite view that allows both typing and drawing and which switches between those two modes using gestures. The drawing view would have a clear background so that while in drawing mode the text in the UITextView is still visible.
I'd appreciate any suggestions on an approach that will work correctly.
|