我不确定如何在PDFKit中使用签名小部件字段类型。我尝试过以下但运气不好:
let annotation = PDFAnnotation(bounds: CGRect.init(x: 100, y: 100, width: 100, height: 50), forType: .widget, withProperties: nil)
annotation.widgetFieldType = .signature
annotation.widgetStringValue = "Hello"
pdfView.currentPage?.addAnnotation(annotation)