فهرست منبع

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