IOS9 new app Transport Security (ATS) features, mainly to the original request when the use of HTTP, all to the TLS1.2 protocol for transmission. This also means that all HTTP protocols are forced to use the HTTPS protocol for transmission.
The error message is as follows:
APP Transport Security has blocked a cleartext http (http://) resource load since it's insecure. Temporary exceptions can be configured via your app ' s info.plist file.
Workaround:
1. Search for Info.plist in the Filter and select info.plist for editing:
2. Add the information as described above, and the correct changes will look like this, note that the type nsapptransportsecurity is dictionary,nsallowsarbitraryloads as Boolean, as follows:
3. Note: The unit test also has a info.plist below, modifying that file is not useful!
PS: The first addition may not be effective, and then deleted the retry several times before the line.
Reference:
1190000002933776
http://my.oschina.net/vimfung/blog/494687
"IOS" App Transport Security