Unable to add custom menu in PDFKit using "UIEditMenuInteraction"

I'm using PDFKit to render a PDF and I have added custom menus using "UIMenuController". But it is now deprecated from iOS 16 onwards.

Any help would be really appreciated.

Thanks in Advance.

Did you get any solution?

Unable to add custom menu in PDFKit using "UIEditMenuInteraction"
 
 
Q