Hmm, this doesn't seem to be happening on my iPhone.
Post
Replies
Boosts
Views
Activity
@DTS Engineer , You seem to misunderstand the problem. The grouped inset styles seem to have additional inset that is not visible on the actual device; only on the simulator.
Add this code:
public class Coordinator<LoginContext: CordinatedLoginContext>: NSObject, WKNavigationDelegate {
#if compiler(>=6)
public func webView(
_ webView: WKWebView,
decidePolicyFor navigationAction: WKNavigationAction,
decisionHandler: @MainActor @escaping (WKNavigationActionPolicy) -> Void
) {
// Code...
}
#else
public func webView(
_ webView: WKWebView,
decidePolicyFor navigationAction: WKNavigationAction,
decisionHandler: @escaping (WKNavigationActionPolicy) -> Void
) {
// Code...
}
#endif
}
Whoops, I forgot to remove the type argument. You can remove <LoginContext: CordinatedLoginContext>
@Moderators, can you edit my answer?