WKWebView: how to change Long Press action or disable it?

Hello everyone (why is my greeting message always deleted ??? !!!)

Even I read a lot of topics about it, I did not find the right answer about my problem.

I would like to know if it is possible to disable the long press event in the wkwebview window or determine when the user uses the long press event to do whatever I want?

Actually, I would like to copy the image link from the website into a variable using a long event , and I don't want the popup to be called at all.

I am using swift

Thanks for the help!

+7
ios swift wkwebview long-press
source share

No one has answered this question yet.

See related questions:

1172
How can I turn off UITableView selection?
958
How to change iOS app name?
957
How to change text color of status bar in iOS
909
How to change restriction changes?
56
Detect touch press against long press against movement?
10
WKWebView special long-click menu works, but with some serious problems
3
Disable links in WKWebView?
2
WKWebView action table rejects view view controller after rejection
one
How do I block the Google Search that appears when I press the HOME button?
0
Disable tab switching after long press on UITabBarItem

All Articles