Strict Concurrency Checking - Complete than WKNavigationDelegate function not work

After changing Strict Concurrency Checking - Minimal -> Complete, WKNavigationDelegate functions are not work.


In my case,

optional func webView(
    _ webView: WKWebView,
    decidePolicyFor navigationAction: WKNavigationAction,
    decisionHandler: @escaping @MainActor (WKNavigationActionPolicy) -> Void
)

is not work. After change Strict Concurrency Checking Option


What I ve attempted is as follows:

  1. import WebKit -> @preconcurrency import WebKit
    -> Not work

  2. Changing decisionHandler to async function
    -> Not work

It is just Apple Bug?

Are there things I can try to more?

  • Reverting the options makes it function normally.