I was wondering if anybody have an example how to download a PDF file from a WKwebView. It seems that it's now possible since macOS 11 but I cannot find any example for macOS. let's say you have a PDF link inside a webview, how to get the document?
WKDownload in Objective-C for Mac
Which bit are you stuck on here? Using the API at all? Or using it from Objective-C specifically?
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
I need an example to understand how it works. the documentation is not clear enough.