rlee-esristaff

Capture touch events on UIView used as an overlay for a map view

Discussion created by rlee-esristaff on Mar 15, 2012
Latest reply on Mar 16, 2012 by rlee-esristaff
I am looking for a way to enable a UIVIew to take control of touch events while it is active above a map view. The UIView passes touches through to the window after I enabled the touches methods on the view controller. The map view also takes touches on exposed areas of the map not covered by this UIView.

Short of writing a category to extend the AGSMapview, I have tried forwarding the touch events from the main view of the view controller, which does capture the touch event, but does not successfully forward it.

What approach would you suggest?

Outcomes