Subclass WKWebView and add this override:
override func buildMenu(with builder: UIMenuBuilder) {
super.buildMenu(with: builder)
builder.remove(menu: .share)
}
Unfortunately this also removes the "Share..." menu item, which I'd rather keep... But if you want to remove everything, that's a possibility.
Topic:
Safari & Web
SubTopic:
General
Tags: