title: How to download raw bytes from web on iOS
body: <p>My iPhone app must download and display a user's profile picture when s/he signs into the app. The problem is: we store the images as raw byte arrays on our server (don't ask me why...  I didn't set up the database, and it's too late to change now).  Does anyone know how to download a byte array (asynchronously) stored at a specific URL, in order to convert it into a UIImage?   </p>
  
  <p>To upload/store the original UIImage, I convert to NSData using UIImageJPEGRepresentation(image), and upload that NSData using an AFNetworking 2.0 multi-port http POST request.</p>
  
  <p>Anyone?</p>