How to load ppt and csv files into UIWebview
Is it possible to load and display the .csv files and .开发者_如何转开发ppt files into UIWebview. If then can anyone suggest me how it can be implemented.
Thanks in advance
For loading file in UIWebView you have to create request as below:
[webView loadRequest:[NSMutableURLRequest requestWithURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"Question" ofType:@"csv"]]]];
Same is also applicable for PPT, PDF etc.
精彩评论