OK, thanks to your hint with the exception breakpoint I was able to read the error variable: Surprisingly it's nil. This caused me getting entirely confused. 😕 Anyway, in the console there is the NSException error printedTerminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'data parameter is nil'as well as a bunch of throw call stack annotations. I have already browsed them, but they didn't gimme a hint about the occured error. Clueless as I am, I assume that your red herring theory proves to be true. Possibly I forgot to set some delegates ... Would be absolutely cool if you have a look at the whole method. Maybe everything gets clearer, then.- (void)downloadItemsWithQuery:(NSString *)searchString { // Create the customized URL NSString *theQuery = [searchString uppercaseString]; NSString *encodedString = [theQuery stringByAddingPercentEncodingWithAllowedCharacters: [NSCharacterSet characterSetWithCharactersInString:@!*'();:@&=+$,/?%#[]]]; NSURL *theURL = [NSURL URLWithString:
Topic:
App & System Services
SubTopic:
Networking
Tags: