开发者

Fetching PDF file content into NSString

开发者 https://www.devze.com 2023-04-05 07:07 出处:网络
I am working on iPad application in which i have to show PDF data into table. Firstly,I want to fetchPDF file content into NSString, how to achieve this. I tried a lot but i amunable to get i开发者_开

I am working on iPad application in which i have to show PDF data into table. Firstly,I want to fetch PDF file content into NSString, how to achieve this. I tried a lot but i am unable to get i开发者_开发知识库t.

Thanks


You have to use Quartz2d. Check this page of the Quartz 2D Programming Guide, it covers everything you need to open and parse a PDF file in iOS. Note that it is not a simple task, since there's no method to extract the full text in one line. You have to work with the data as an input stream, using a CGPDFScanner

0

精彩评论

暂无评论...
验证码 换一张
取 消