如何通过目标C上传文件? [英] How to upload file through objective C?
本文介绍了如何通过目标C上传文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
我发现这是答案
http://cocoadev.com/index.pl?HTTPFileUpload
I want to ask a question about the objective C on iPhone. I want to upload a file (actually I store all the data in a NSString) to a server. However, I have not idea of how to do, I have checked the website of the Apple Developer, and I know there are a function called connection:didSendBodyData:totalBytesWritten:totalBytesExpectedToWrite:
, but it seems wrong. Can anyone help me and provide some sample code to me? Thank you very much.
解决方案
I found this is the answer http://cocoadev.com/index.pl?HTTPFileUpload
这篇关于如何通过目标C上传文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文