Bladeren bron

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

chenyu 1 jaar geleden
bovenliggende
commit
c00354beeb
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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];