[英]Retrieve file properties in ios
我想从pdf文件中检索Following attributes
。
到目前为止,我使用NSFileManager
提取了创建日期和修改日期。 是否有任何方法可以在ios中获取此属性。
提前致谢。
这是我从Mac上获得的图片。 这些是我要提取的信息。
CGPDFDocumentRef _pdfDocRef = CGPDFDocumentCreateWithURL((__bridge CFURLRef)(fileURL));
CGPDFDictionaryRef infoDic = CGPDFDocumentGetInfo(_pdfDocRef);
它显示以下数据,
key = Title
key = Creator
key = Author
key = Producer
key = Trapped
key = CreationDate
key = ModDate
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.