Install custom long press context menu on web page

Originator:garvankeeley
Number:rdar://48936921 Date Originated:march 15, 2019
Status:Open Resolved:
Product:iOS+WebKit Product Version:
Classification:Feature request Reproducible:
 
WKWebView shows a built-in context menu when long-pressing URLs or images.
3rd party browsers (such as Firefox iOS) will want to install their own context menu to present options specific to their application.

The request is for the web view to callback (perhaps by a delegate) when a long-press gesture on a link or image has occurred, so that the native menu is not shown, with parameters for
- url
- type (image, or link)
- location of touch

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!