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

user478
1#
user478 Published in May 20, 2018, 10:03 am

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.300734 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO