Hello, m I have a UIView which contains a zoomable uiimageview and also another semitransparent uiview on top of that.
What I am trying to achieve is to be able to zoom the uiimageview while keeping the semitransparent view static and not zoomed.
If I add the semitransparent uiview on top of the uiimageview (which is added to the UIScrollview), everything zooms. However, if I add both as subviews to the base UIView, the touches only get tracked is the semitransparent uiview since its the last one added.
I do need control to reside first at the semitransparent uiview for the touches since I may want to resize the semitransparent view. However, I'd like to pass control of the touches to the UIScrollview if two fingers are used. Is there anyway for me to achieve this? The nextresponder doesn't seem to work. I also tried to use hittest in addition to subclassing UIWindow, but the base UIView needs to push/pop navigation controlling ability so I don't think I can subclass UIWindow to push onto the navigation stack.
Any help would be appreciated.
Thanks, Winston