Kaynağa Gözat

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

chenyu 1 yıl önce
ebeveyn
işleme
c00354beeb
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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];