iphone应用程序3G上传图像失败(wifi正常)
我们尝试将图像从iphone应用程序上传到php脚本。 在wifi连接上,一切都很顺利。 但在3G连接中,大约有50%的时间失败。(我们的3G非常稳定) 我们在其他线程中看到了一些注释,但似乎无法使其正常工作。 谁能提供一些建议iphone应用程序3G上传图像失败(wifi正常),iphone,wwan,Iphone,Wwan,我们尝试将图像从iphone应用程序上传到php脚本。 在wifi连接上,一切都很顺利。 但在3G连接中,大约有50%的时间失败。(我们的3G非常稳定) 我们在其他线程中看到了一些注释,但似乎无法使其正常工作。 谁能提供一些建议 [asirequest setData:imageData withFileName:[NSString stringWithFormat:@"%@.png",[name objectAtIndex:0]] andContentType:@"image/png" for
[asirequest setData:imageData withFileName:[NSString stringWithFormat:@"%@.png",[name objectAtIndex:0]] andContentType:@"image/png" forKey:@"filedata"];
我们试图限制3G带宽:
[ASIHTTPRequest setShouldThrottleBandwidthForWWAN:YES];
但是上传变得非常慢。但它仍有50%的时间失败。
在wifi中,上传只需不到10秒,并且始终有效
百万泰铢