NSURLConnectionDataDelegate有connection:didSendBodyData:totalBytesWritten:totalBytesExpectedToWrite: 当然,也可以用更丰富的第三方库(例如AFNetworking)来完成http请求,获取请求过程中的状态变化。
29,049
社区成员
12,464
社区内容
加载中
试试用AI创作助手写篇文章吧