problem downloading various files from server

Discussion in 'iOS Programming' started by erritikamathur, Apr 9, 2010.

  1. erritikamathur macrumors newbie

    Joined:
    Sep 23, 2009
    #1
    i need to download number of files on after another from server

    i use following code for getting file data from a url
    Code:
    [NSURLConnection sendSynchronousRequest:theRequest returningResponse:&res error:&error];
    where theRequest is NSURLRequest
    
    but my application crashes in middle..wht could be the reason & how it could be resolved?
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    Use the debugger and find out where it crashes.
     

Share This Page