Knowledge Base and examples

Knowledge Base - How to open pdf from url?

This article shows how to open a pdf from a specific url.

It possible to open a pdf with PDFHTTPStream class in this way:


    RDPDFViewController *pdf = [[RDPDFViewController alloc] initWithNibName:@"RDPDFViewController" bundle:nil];   

    NSString *cachefile = [[NSTemporaryDirectory() stringByAppendingString:@""] stringByAppendingString:@"cache.pdf"];

    PDFHttpStream *stream = [[PDFHttpStream alloc] init];

    [stream open:@"http://pdf_url" :cachefile];

    [pdf PDFOpenStream:stream :@""];


    [self.navigationController pushViewController:pdf animated:YES];

Applies To

RadaeePDF SDK for iOS

Related Articles

How to open pdf from url?


Created : 2015-10-09 11:54:09, Last Modified : 2017-08-29 12:53:29