Вопрос

Okay so I have a web view that holds the chat bar div from Facebook.com. The web view itself is larger/taller than the bar because obviously it needs to be for when a chat box is opened. When a chat box isn't open though, that area of the web view is transparent. I need the transparent areas of the web view to ignore mouse events and send them to whatever is behind.

How should I go about this?

Это было полезно?

Решение

Subclass the WebView and implement your own hitTest: method.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top