标签: objective-c ios
请参阅以下代码:
NSString *pdfPath = [documentsDirectory stringByAppendingPathComponent:@"test.pdf"]; NSData *myData = [NSData dataWithContentsOfFile:pdfPath];
如何将myData转换为CGPDFPageRef?
答案 0 :(得分:2)
为什么不使用CGPDFDocumentCreateWithURL?
CGPDFDocumentCreateWithURL