Hello fellow devs! I'm using the #iOS #PDFKit library , but when I try add a PDFAnnotation my text is always cropped at the bottom.
I tried to calculate the frame using both text.size(withAttributes: [.font : font]), or sizeToFit on a label, but didn't work. Any suggestion?🙏 #swiftlang #iosdev
pdfkitがHostNotFoundErrorを吐く - Qiita

表題の通りでハマったのでメモ。 PDFKitはPythonからPDFファイルを生成するためのライブラリです。もととなるHTML、あるいはURLからPDFファイルを生成することができます。 しかし、このPDFKit、場合によって`H...