Home get text after selecting text and touching up(touch end) in wkwebview
Reply: 0

get text after selecting text and touching up(touch end) in wkwebview

Carl Hung
1#
Carl Hung Published in 2018-01-13 09:35:06Z

In WKWebView, users touch down to select text. and manipulate(set) the extent.

I want to fire up once the users touch up(touch end) and finish selecting extent but which can ignore touch-up from scrolling.

how can I do that?

I tried to override touchesBegan(touches: Set, withEvent event: UIEvent) and touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?), but none of them is called.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.297507 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO