1
votes

i want to create simple pdf reader application for ipad. but did not find the proper documentation or sample code. please guide me from where i should start.

Thanks

Miraaj

4

4 Answers

5
votes

Just use a UIWebView. WebKit can display PDF natively.

If you need to render the PDF yourself not relying on WebKit, check the CGPDF*** stuff (search for it in Xcode docs).

1
votes

You can find a nice app sample with CC license on this repository

I hope it helps. It definitely helped me

0
votes
uiwebview *web;

[self.web loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPath:[[NSBundle mainBundle]pathForResource:@"senthil" ofType:@"pdf"]]]];
0
votes