ALL BUSINESS
COMIDA
DIRECTORIES
EDUCATIONAL
ENTERTAINMENT
FASHION TIPS
FINER THINGS
FREE CREATOR TOOLS
HEALTH
MARKETPLACE
MEMBER's ONLY
MONEY MATTER$
MOTIVATIONAL
NEWS & WEATHER
TECHNOLOGIA
TELEVISION NETWORKS
USA VOTES 2024
VIDEOS
INVESTOR RELATIONS
IN DEVELOPMENT
Posted by - Latinos MediaSyndication -
on - May 30, 2023 -
Filed in - Technology -
-
410 Views - 0 Comments - 0 Likes - 0 Reviews
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.
I remove share、loopup menu items with code below:
@available(iOS 13.0, *) open override func buildMenu(with builder: UIMenuBuilder) { builder.remove(menu: .lookup) builder.remove(menu: .share) builder.remove(menu: .replace) super.buildMenu(with: builder) }
But the "Highlight" context menu can't be removed when a user long press to select text in a PDF. There is no way to get rid of this menu item ? And how to use UIEditMenuInteraction in PDFView ?
Any help would be really appreciated.