You can can do that by using following code:
Directly load in WebView:
//Pass your NSData in PdfData
[webview loadData:PdfData MIMEType:@"application/pdf" textEncodingName:@"utf-8" baseURL:nil];
OR
Use CGPDFDocumentCreateWithProvider
to generate pdf and then load to webview:
//NSData to pdf
NSData *contentData = //Your NSData
CFDataRef PDFData = (CFDataRef)contentData;
CGDataProviderRef provider = CGDataProviderCreateWithCFData(PDFData);
CGPDFDocumentRef genPdf = CGPDFDocumentCreateWithProvider(provider);
Also check: Loading NSData into a UIWebView