Prechádzať zdrojové kódy

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

chenyu 1 rok pred
rodič
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];
             }