Quellcode durchsuchen

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

chenyu vor 1 Jahr
Ursprung
Commit
61dafd4d00

+ 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];
             }