Tag: afnettprequest操作

iOS AFNetworking downloadProgressBlock计算返回负数

我正在使用AFNetworking下载与第三方类分析的数据。 我之前使用过AFNetworking多次执行类似的操作,但由于某种原因,当我调用downloadProgressBlock并使用我的进度条进行计算时,数字会返回负值。 见下文: 2013-09-22 16:04:06.036 Portland Police[2228:60b] Download = -31849.000000 2013-09-22 16:04:06.041 Portland Police[2228:60b] Download = -40537.000000 2013-09-22 16:04:06.042 Portland Police[2228:60b] Download = -44881.000000 2013-09-22 16:04:06.044 Portland Police[2228:60b] Download = -53569.000000 2013-09-22 16:04:06.046 Portland Police[2228:60b] Download = -62257.000000 2013-09-22 16:04:06.048 Portland Police[2228:60b] Download = -63705.000000 2013-09-22 16:04:06.085 Portland Police[2228:60b] Download = -70945.000000 2013-09-22 16:04:06.087 Portland […]