因为最有个人需求,所以需要提取PDF的内容。 而且,在网上找很多东西都是收费的,或者是不能完全转换的。 而且,iOS将发散性地考虑如何实现同样的需求
以下是stackoverflow中的一些答案
How can I get the text from PDF page?
howtoconvertpdfpagetotextfileinios APP应用程序
Extracting pdf text in Objective C
Get text from a pdf in NSString
Export text or pdf
howtocreateapdfwithquartz 2d inios 5第1部分
更新时间2019年04月02日,苹果在iOS11之后发布了pdf工具包。 可以使用PDFPage、PDFSelection等类实现预期效果
reference 3359 www.hackingwithswift.com/example-code/libraries/how-to-extract-text-from-a-pdf-using
33559 www.hackingwithswift.com/example-code/libraries/how-to-extract-text-from-a-pdf-using-pdf kit