How to search text in pdf document with quartz

前端 未结 4 1256
清酒与你
清酒与你 2021-02-03 16:01

I\'m using quartz to display pdf. I need to get the indexes of pages where my searching text exists. Anyone can help me? Thanks.

Solution: There is a sa

4条回答
  •  时光说笑
    2021-02-03 16:33

    If you use PDFDocument, instead of CGPDFDocument, that API has text search operations, such as findString:withOptions

提交回复
热议问题