We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#pragma mark - Downloading the APPINFO JSON FILE -(void)downloadAppInfoFile{ NSError *error; NSData *data = [NSData dataWithContentsOfURL:[NSURL URLWithString:stringDBAppInfoURL] options:NSDataReadingUncached error:&error]; if(error) { NSLog(@"AppUpadterNotifier - Error while downloading the app info -----%@",error); dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ [self downloadAppInfoFile]; }); } [self parseJSONDataIntoDictinory:data]; }
The method [self parseJSONDataIntoDictinory:data]; invokes crash because data is nil when connections is lost
[self parseJSONDataIntoDictinory:data];
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The method
[self parseJSONDataIntoDictinory:data];
invokes crash because data is nil when connections is lostThe text was updated successfully, but these errors were encountered: