AFNetworking : Image is not uploading pre iOS 8 -


i'm using afnetworking in app make possible client-server communication. working great. today, our tester encounter issue, can't upload image server on device having ios 7.0. , 7.1. (note: we're targeting app ios 7.0. >= versions) we've encountered on simulator well.

have ever encounter before? i'm not posting code working ios 8 , later versions. i'm sure, there's no issue code. however, think, issue may inside afnetworking framework?

ps.

  • we're using latest version of afnetworking framework.
  • all other api calls working fine in both of ios versions.
  • i'm using afhttpsessionmanager call api. (available ios 7.0.)

please help!

let me know, if want more info. on this.

please check code:

    afhttprequestoperationmanager *manager = [afhttprequestoperationmanager manager];      afhttprequestoperation *op = [manager post:urlstring parameters:params constructingbodywithblock:^(id<afmultipartformdata> formdata) {       [formdata appendpartwithfiledata:imagedata name:@"image" filename:@"photo.png" mimetype:@"image/png"];      } success:^(afhttprequestoperation *operation, id responseobject {  } failure:^(afhttprequestoperation *operation, nserror *error) {  }];  [op start]; 

Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -