以下代码转自CocoaChina会员的博客(FLYBLOG),能实现从iPhone压缩图片并上传至服务器的功能http://www.cocoachina.com/iphonedev/sdk/2010/0506/1349.htmlhttp://www.189works.com/article-80022-1.html