浏览代码

ComPDFKit(iOS) - 修复五合一不能操作签名的bug

chenyu 1 年之前
父节点
当前提交
c00354beeb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ComPDFKit/ComPDFKit/CPDFViewController.m

+ 1 - 1
ComPDFKit/ComPDFKit/CPDFViewController.m

@@ -588,7 +588,7 @@
 - (void)PDFListViewPerformSignatureWidget:(CPDFListView *)pdfView forAnnotation:(CPDFSignatureWidgetAnnotation *)annotation {
     if(CToolModelAnnotation == self.pdfListView.toolModel) {
         [self.annotationBar openSignatureAnnotation:annotation];
-    }else if(CToolModelForm == self.pdfListView.toolModel) {
+    }else if(CToolModelViewer == self.pdfListView.toolModel) {
         self.signatureAnnotation = annotation;
         AAPLCustomPresentationController *presentationController NS_VALID_UNTIL_END_OF_SCOPE;
         CPDFSignatureViewController *signatureVC = [[CPDFSignatureViewController alloc] initWithStyle:nil];