无法在 webview 中加载特定域

a specific domain cannot be loaded in a webview

我必须在网络视图中加载 https URL,但出现错误 NSURLErrorDomain: An SSL error has occurred and a secure connection to the server cannot be made. (-1200: NSURLErrorSecureConnectionFailed)

我在 .plist 中添加了域:

但还是一样的错误...

当我在模拟器的 Safari 中加载 URL 时,我可以正确加载页面。

它不适用于这个特定的域,但 webview 可以用于 https://www.google.com

你有解决这个问题的想法吗?

感谢

我要调用的域正在使用 TLS v1.0,而 Apple 至少需要 TLS v1.1。

所以我添加了 "App Transport Security Settings" > "Exception Domains" > "my.domain.com" > NSExceptionMinimumTLSVersion: "TLSv1.0"