瀏覽代碼

PDFTools (iOS) - Push Button黑色边框处理

chenyu 1 年之前
父節點
當前提交
6414ce562a
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      compdfkit-tools/compdfkit-tools/Common/Views/PDFView/PDFListView/CPDFListView+Form.m

+ 1 - 0
compdfkit-tools/compdfkit-tools/Common/Views/PDFView/PDFListView/CPDFListView+Form.m

@@ -385,6 +385,7 @@
             isPushButton = YES;
             widgetAnnotation = [[CPDFButtonWidgetAnnotation alloc] initWithDocument:self.document controlType:CPDFWidgetPushButtonControl];
             CPDFButtonWidgetAnnotation *buttonWidgetAnnotationut = widgetAnnotation;
+            widgetAnnotation.borderColor = [UIColor blackColor];
             buttonWidgetAnnotationut.caption = @"Push Button";
             [widgetAnnotation setFieldName:[NSString stringWithFormat:@"%@%@",@"Push Button_",[self tagString]]];
         }