I\'m developing an application for iPad using XCode 3.2.5 iOS SDK 4.2. This application requires to open PDF, DOC and XLS files and preview them to the user.
I\'m t
For loading word or excel or pdf documents, you need is physical path
of document file
. it means file should saved in document or temporary directory
or it may be in application bundle
.
//now use file path to load in webview
[yourWebView loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPath:yourFilePath]]];