I have implemented WKWebView in my view and loading html, css and js from local file. some pages have link and youtube video. The question is how to handle touch event when clicking in page beyond links and Youtubes...?
Asked
Active
Viewed 3,037 times
5
-
Have you already tried to achieve it somehow (e.g. [handling touches for UIView](http://stackoverflow.com/a/4130641/1492173))? – Yevhen Dubinin May 30 '16 at 08:30
-
Of course UIView no problem. I can handle it but for WKWebView you can imagine you have links, a youtube video embedded in your page and .... and you wanna inspect if user tap on Links or youtube video or on content of page. – juccii6 May 31 '16 at 02:26
-
1Try to look at my answer here http://stackoverflow.com/questions/33790298/how-to-capture-taps-ignored-by-wkwebview/40424850#40424850 – Deniss Fedotovs Nov 04 '16 at 14:18