IOS9 start Apple to change HTTP to HTTPS, so there is a network request failure problem, workaround:
1. Change back to http:
Add a key:nsapptransportsecurity (dictionary type) to the Info.plist file, and then add a Key:nsallowsarbitraryloads (Boolean) to it, and the property value is set to Yes. For example:
2. Add White List
(here is mainly for the Run program print '-canopenurl:failed for URL: "XXX"-Error: "The" This app was not a allowed to the query for scheme XXX "issue) (in Friends of the league as an example bar)
Open the Info.plist file as source code, and add something like the following in it (general official online can find a way to handle, HTTP://DEV.UMENG.COM/SOCIAL/IOS/IOS9)
<Key>Lsapplicationqueriesschemes</Key> <Array> <string>WeChat</string> <string>Weixin</string> <string>Sinaweibohd</string> <string>Sinaweibo</string> <string>Sinaweibosso</string> <string>Weibosdk</string> <string>weibosdk2.5</string> </Array>
3, after running the program, the printing information will be changed to '-canopenurl:failed for URL: "XXX"-error: "NULL", this printing seems to be unable to eliminate (I did not find a way to solve, but the real machine will not appear when printing)
To this OK.
Add links, about iOS9 adaptation question: http://www.cocoachina.com/ios/20150702/12384.html
IOS9 Request HTTPS Issue-logging