我正在尝试将图像上传到我的PHP服务器,但无法正常工作。当我尝试上传文件时,屏幕只是卡住(这是预期的-我正在使用sendSynchronousRequest直到我可以让它工作)大约一分钟,然后它返回一个空字符串作为响应。我已经为此工作了一天多,但似乎无法让它发挥作用。此外,图像实际上从未上传到服务器(我检查过)。提前致谢!//Uploadingtheimage-(IBAction)uploadImage:(id)sender{[selfuploadImage:UIImageJPEGRepresentation(productImageView.image,90)filename:@"i