ios - How to Enable Touch Events For a MapView underneath a UIView (iOS8/Swift) -
this question has been asked before solution appear work used to, or there problem occurring.
i have mapview, , on top of have placed opaque uiview acts indicator user. has been done in interface builder, no manual placement of controls or that. want uiview not block user interactions mapview such double-tap zoom, pan, etc. have tried existing solution uncheck box "user interaction enabled" in interface builder uiview, has not worked.
how can solve this?
i post code if turns out ios8/xcode 6 not effect solution.
code: https://github.com/chrischares/swift-alarm github repo, note not code, reflects problem shown here. goto mapviewcontroller interface.
how overriding uiview's hittest method, , returning nil? can't test ios8 sim @ moment, that's guess.
Comments
Post a Comment