I use WKDownloadDelegate
in my app and implement this function: download(_:decideDestinationUsing:suggestedFilename:completionHandler:)
https://developer.apple.com/documentation/webkit/wkdownloaddelegate/3727344-download
This is marked available in macOS 11.3+.
The first parameter is of type WKDownload
. Previously this was also marked available macOS 11.3+ but since updating to XCode 13.1 it is now marked available macOS 12, and thus my code no longer compiles.
Has the availability of WKDownload been changed in error or have I misunderstood something?