[1].[Code][other] code jumps to [1]?
| 1234567891011121314 |
nsurl* url = [nsurl urlwithstring:@" xxx "];      asiformdatarequest* request = [Asiformdatarequest Requestwithurl:url];      request.uploadprogressdelegate = Viewpost.progressview;      request.showaccurateprogress = YES;      request.shouldcontinuewhenappentersbackground = YES;      if ([Imagearray Count] > 0)   {         [request Setpostformat:asimultipartformdatapostformat];          for (nsdata* data in Imagearray) {             nsinteger idx = [Imagearray indexofobject:data];              [request adddata:data withfilename:[nsstring stringwithformat:@" Image%d.png ", IDX] andcontenttype:@ "Image/png" forkey:@ "photos[]";          }      } |
Uploading multiple files to IOS