nsurlsession参考的这篇博客,自己也调试了它的代码:http://www.it165.net/pro/html/201406/15223.html ,对nsurlsession还不太理解,先记下笔记,随后慢慢消化
appdelegate.h
appdelegate.m
viewcontroller.m
![](https://img.laitimes.com/img/_0nNw4CM6IyYiwiM6ICdiwiInBnaucjNxgDM5QTN1gzMwEDOy8CX0ATNxAjMvw1MxIzMzczLcVTMwIzZvxmYvwVbvNmLn9GbiRXauNmLzV2Zh1Wavw1LcpDc0RHaiojIsJye.jpg)
nsurlsession参考的这篇博客,自己也调试了它的代码:http://www.it165.net/pro/html/201406/15223.html ,对nsurlsession还不太理解,先记下笔记,随后慢慢消化
appdelegate.h
appdelegate.m
viewcontroller.m