WKWebView and UIMenuController

I’m currently stuck with limiting the number of items displayed in a UIMenuController when I long press on text in WKWebView.
I’m using a custom webView by subclassing the WKWebView, and I need to display only my custom options and none of Apple’s default ones (copy, delete, share).
The closest I have come is this :

This looks very ugly and is very distracting.
Any help that you could provide with regards to this will be highly appreciated.

This topic was automatically closed after 166 days. New replies are no longer allowed.