2010-04-02 12 views

回答

0
uiwebview *web; 

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

只需使用一个UIWebView。 WebKit可以本机显示PDF。

如果您需要自己渲染PDF而不依赖于WebKit,请检查CGPDF ***的内容(在Xcode文档中搜索它)。

1

您可以找到CC许可一个不错的应用程序样本上this repository

我希望它能帮助。它绝对帮助我