Browse Source

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

chenyu 1 year ago
parent
commit
c00354beeb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ComPDFKit/ComPDFKit/CPDFViewController.m

+ 1 - 1
ComPDFKit/ComPDFKit/CPDFViewController.m

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