一、网络请求

    (1) info.plist文件中添加网络请求

<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>

   (2)异步请求数据

      

AFNetworking介绍:

https://www.jianshu.com/p/20be88c39feb

    

相关文章: