I'm drawing some ink annotations on a PDF file using PDFKit. But I can't change the width of the lines. I thought that doing:
let path = UIBezierPath() path.lineWidth = 20 // important line path.move(to: originPoint) path.addLine(...) annotation.add(path)
would be enough since modifying the lineWidth of a Bezier path works when drawing in Core Graphics. But here, it does not change anything, so how to change the line width of an annotation ?