iOS 网络相关

来源:互联网 发布:meteonorm数据库 编辑:程序博客网 时间:2024/05/01 23:54

Application 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.

Xcode禁止访问明码访问?

解决方法:



2NSURLConnection deprecated in iOS9,逐步将URLConnection转到NSURLSession

参考资料:

NSURLSession (NSURLSessionDataTask,NSURLSessionUploadTask,NSURLSessionDownloadTask)

http://blog.csdn.net/majiakun1/article/details/38133703

http://www.cocoachina.com/industry/20131106/7304.html

http://blog.csdn.net/chenpolu/article/details/42566073

(NSURLConnection)

http://blog.csdn.net/heyddo/article/details/37561005


3 JSON数据解析

http://blog.csdn.net/enuola/article/details/7903632/

0 0