0

I am writing an iPhone app that will upload an image to a server, and the server will process it. I want to know the best way to upload the image. I know I could use base 64 encoding to convert the image as text and then POST the string, but using only 64 characters does not seem very efficient. Are there either any better ways to convert an image to text, or even a better way to upload an image than converting to text?

Christopher Shroba
  • 7,006
  • 8
  • 40
  • 68

1 Answers1

1

Here is your answer I believe.

iOS Image upload via AFNetworking 2.0

AFNetworking is a third party library that makes web service calls easy.

You can get the library from here https://github.com/AFNetworking/AFNetworking

A good tutorial is here http://www.youtube.com/watch?v=Qjig7ZnH73Y

Community
  • 1
  • 1
jdpahl122
  • 69
  • 1
  • 9
  • Whilst this may theoretically answer the question, [it would be preferable](http://meta.stackexchange.com/q/8259) to include the essential parts of the answer here, and provide the link for reference. – John Dvorak Jan 27 '14 at 18:32