Parsing Images through Webservices - iOS

Discussion in 'iOS Programming' started by ashwinr87, Feb 6, 2012.

  1. macrumors member

    Mar 9, 2011

    I am trying to find out how images are sent through webservices for parsing in iOS.
    I know how to parse images through image URL but is that the only way images are sent through webservices?
    Would images be sent as binary data and if so how would I be able to parse them?

    It would be great if someone could let me know.
  2. idelovski, Feb 6, 2012
    Last edited: Feb 6, 2012

    macrumors regular

    Sep 11, 2008
    It usually ends with: [UIImage imageWithData:resData]; Before that, you'll most likely collect the image data in NSURLConnection delegate -connection:didReceiveData:.
  3. thread starter macrumors member

    Mar 9, 2011
    thanks for the reply!!


Share This Page