Quote:
Originally Posted by rmonson
This works well but you have to remove the dot (".") from the file type or it doesn't work. so the "ofType" parameter should be as follows:
ofType:@"pdf"
Notice the dot is missing.
|
Hello
I m also trying the same thing.But I instead of pdf file I am using xls file.but I am not able to display the content of the file.Do I have to make those changes in the interface builder.I am using the following code.
NSString *myFilePath = [[NSBundle mainBundle]pathForResource:@"help" ofType:@"xls"];
NSURL *xlsUrl = [NSURL URLWithString:myFilePath];
and I am using xls file as a resource.