我正在尝试在尝试上传和下载文件时做一些进度指示。
一直在阅读,看起来这是我需要使用的方法。
- (void)connection:(NSURLConnection *)connection didSendBodyData:(NSInteger)bytesWritten totalBytesWritten:(NSInteger)totalBytesWritten totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite
我想详细了解该函数的工作原理(即何时调用等),但似乎找不到参考文档。我访问了这个 URL,但它没有说明该特定功能。
我在哪里可以阅读更多关于它的信息?
谢谢你,
三通