【发布时间】:2018-05-23 10:27:47
【问题描述】:
我在 iOS 中加载了一个可编辑的 pdf。但无法确定用户是否对该 pdf 进行了任何更改。
NSData *fileData = [NSData dataWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"PdfFormExample" ofType:@"pdf"]];
PDFDocument *pdfDocument = [[PDFDocument alloc] initWithData:fileData];
PDFView *pdfView = [[PDFView alloc] initWithFrame:self.view.frame];
pdfView.document = pdfDocument
[self.view addSubView:pdfView];
提前致谢。
【问题讨论】:
标签: ios objective-c ios11 pdfkit