开发者

How do I convert a PDF stored as NSData to a CGPDFPageRef?

Please see 开发者_开发技巧the following code:

NSString *pdfPath = [documentsDirectory stringByAppendingPathComponent:@"test.pdf"]; 
NSData *myData = [NSData dataWithContentsOfFile:pdfPath];  

How do I convert myData to a CGPDFPageRef?


Why not use CGPDFDocumentCreateWithURL?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜