I have been trying to send .png images from iPhone to web service. I have come so fas as converting the .png ima开发者_JAVA技巧ge into a byte[] array. I am clueless as to how to use soap or HTTP get/post to transfer the byte[] image to the web service.
Any help would be greatly appreciated.
Sayeed
if you want to use just an HTTP-POST, you can try the ASIHTTPRequest library. it wraps the NSHTTPRequest into an easy-to-use container. there is also an example how to submit files (your png).
精彩评论