RESOLVED MOVED 239652
[iOS] Lookup (for selected word in dictionary) is missing in PDF
https://bugs.webkit.org/show_bug.cgi?id=239652
Summary [iOS] Lookup (for selected word in dictionary) is missing in PDF
harryl.byread
Reported 2022-04-22 04:11:24 PDT
When WebKit displays PDF files, it uses "PDFHostingViewController" and its view to present the PDF file content on screen. Most user interactions are handled by PDFHostingViewController and this is part of Apple's internal/private SDK. With currently exposed/released properties and interfaces of PDFHostingViewController, it is almost impossible for non-Apple developer to add "Lookup" context menu item to WKWebView viewing PDF content. It is quite useful to users who read PDF files and lookup words with iOS dictionaries with Safari or WebKit browsers. Thanks for looking into this issue.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-04-29 04:12:19 PDT
Brent Fulgham
Comment 2 2022-06-30 10:29:14 PDT
This fix needs to be made outside of the WebKit source code. That work is tracked here: <rdar://54087435> Marking as "RESOLVED | MOVED" since this work is happening in an operating system component outside of WebKit.
Note You need to log in before you can comment on or make changes to this bug.