How to modify default context menu of PDFKit with SwiftUI

I am creating an app for iOS and iPadOS using PDFKit based on SwiftUI and have a problem that I cannot solve. In the current app, when viewing a PDF, I select a sentence by dragging it, press and hold, and a context menu with several processing commands is displayed. This context menu is not prepared by me, but it is the default context menu that comes with PDFKit. Some of them are not suitable for my application and I want to hide them. I have searched a lot about the settings and it seems to use UIContextMenuInteraction, UIEditMenuInteraction and their delegate, canperformaction and so on. However, there is no official information on how to use them in swiftui, and when I try to implement them myself, they don't work as expected. If anyone knows how to modify the context menu provided by default when using PDFKit with SwiftUI, please let me know.