当您点击该链接时,我需要在iPad中保存pdf / doc文档。我试图从http://meme.hcl.com/sites/default/files/243347_TroubleShootingSqlserver20052008.pdf获取数据,并尝试在iPad中保存此pdf。但我无法做到这一点。请帮帮我。
myGroupsBeanData = [self.groupLinksDocumentsArray objectAtIndex:indexPath.row];
NSString *seperator=@"meme.hcl.com/";;
documentName=[NSString stringWithFormat:@"%@%@",seperator,myGroupsBeanData.linkVal];
responseData = [[NSMutableData alloc] init];
webserviceType = GET_PDF_DATA;
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:documentName]];
[[NSURLConnection alloc] initWithRequest:request delegate:self];