Bladeren bron

PDFTools(iOS) -Fixed 17875 【form】添加签名form,进入viewer模式,添加签名后,点击form区域建议可以更换签名(参考windows)

chenyu 1 jaar geleden
bovenliggende
commit
61dafd4d00
1 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. 3 3
      compdfkit-tools/compdfkit-tools/Common/Views/PDFView/PDFListView/CPDFListView.m

+ 3 - 3
compdfkit-tools/compdfkit-tools/Common/Views/PDFView/PDFListView/CPDFListView.m

@@ -237,12 +237,12 @@ NSNotificationName const CPDFListViewAnnotationsOperationChangeNotification = @"
         }
         if(annotation) {
             if ([annotation isKindOfClass:[CPDFSignatureWidgetAnnotation class]]) {
-                if ([(CPDFSignatureWidgetAnnotation *)annotation isSigned]) {
-                } else {
+//                if ([(CPDFSignatureWidgetAnnotation *)annotation isSigned]) {
+//                } else {
                     if ([self.performDelegate respondsToSelector:@selector(PDFListViewPerformSignatureWidget:forAnnotation:)]) {
                         [self.performDelegate PDFListViewPerformSignatureWidget:self forAnnotation:(CPDFSignatureWidgetAnnotation *)annotation];
                     }
-                }
+//                }
             } else{
                 [super touchEndedAtPoint:point forPage:page];
             }