Xcode 7 creates a new project with the UIWebView send request, the following error is reported:
"App Transport Security has blocked a cleartext HTTP (/HTTP) resource load since it is insecure. Temporary exceptions can be configured via your app ' s info.plist file '
After looking up the data, we found that the new feature requires the application to access the network request, using the HTTPS protocol.
But now the company's project is using the HTTP protocol, using private encryption to ensure data security. It is not immediately possible to change to HTTPS protocol transfer.
Finally, the following solutions are found:
1, add nsapptransportsecurity type Dictionary in Info.plist;
2, add the Nsallowsarbitraryloads type Boolean under Nsapptransportsecurity, the value is set to YES;
Xcode 7 App Transport Security has blocked a cleartext HTTP error resolution