【发布时间】:2013-02-15 09:16:33
【问题描述】:
我正在使用 AFJSONRequestOperation 上传图片。
在上传多张图片的情况下,部分请求失败,超时错误。
我试过了
AFJSONRequestOperation *operation = ...
[operation start];
和
AFJSONRequestOperation *operation = ...
[operations addObject:operation];
...
[client enqueueBatchOfHTTPRequestOperations:operations progressBlock:nil completionBlock:nil];
但是,仍然没有运气。
我认为在创建操作时开始计时。
那么,我应该为自己的算法一一安排请求吗?
【问题讨论】:
标签: ios timeout httpclient afnetworking afjsonrequestoperation