1

我正在使用苹果 PDFKit 进行 pdf 墨水注释,当我进行大量注释并开始缩放 pdf 页面时,我注意到内存使用量激增,因此 pdf 页面在缩放时挂起。我检查了几个答案,但没有找到解决方案,我使用贝塞尔路径作为边界,但没有运气。

PDFAnnotation(bounds: path.bounds, forType: .ink, withProperties: nil)
4

0 回答 0