我正在使用WKWebview
并尝试使用自签名证书连接服务器在我的应用程序中运行的服务器( HTTPS )但{{1委托方法被调用时出错。
didReceiveAuthenticationChallenge
我在委托方法中添加了以下代码以绕过此并继续。
The certificate for this server is authroized by valid CA.
You might be connecting to a server that is pretending to be
--My URL-- which could put your confidential information at risk.
我的问题是,因为当它进入应用程序商店时不应该这样做。我该如何处理?