You can create PDF images natively and also create them using Core Graphics. Something like that:
void DrawPDF (CGContextRef context, NSString *name)
{
NSURL *url = [NSURL fileURLWithPath: [[NSBundle mainBundle] pathForResource: name ofType: @"pdf"]];
CGPDFDocumentRef doc = CGPDFDocumentCreateWithURL((CFURLRef)url);
CGPDFPageRef page = CGPDFDocumentGetPage(doc, 1);
CGRect box = CGPDFPageGetBoxRect(page, kCGPDFCropBox);
CGContextDrawPDFPage(context, page);
CGPDFDocumentRelease(doc);
}
UIWebView, of course, for SVG.
source
share