开发者

Transferring images captured by iPhone onto the WebService

This is what I am trying to accomplish.

  1. Capture images from iPhone
  2. Store them on the web service
  3. Retrieve them when required

I have searched for tutorials on the to开发者_Python百科pic but have found none. Also, there are various threads providing information in bits and pieces which I am finding hard to piece together and deduce something useful from. Please post a sample code that does it.

Thanks in advance.

Sayeed


If your trying to upload to a popular web service like Flickr, you will have to read and understand their API. Whether your using one of those, or your own server, most probably you'd want to use this open-source library ASIHTTPRequest as it will provide you with a nice layer of abstraction with communicating with web services.


To capture images you can use the UIImagePickerController To up- and download images to/from a web server you can use NSURLConnection and it's companion.

And it's always a good start to look into some apple sample codes. They're on the related classes documentation at the top under "Related sample code".

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜