瀏覽代碼

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

chenyu 1 年之前
父節點
當前提交
61dafd4d00
共有 1 個文件被更改,包括 3 次插入3 次删除
  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];
             }