I have file on local desktop.
I'm converting its url by using [NSURL fileURLWithPath:filePath]
but I'm getting error. Here is my code:
NSString* filePath = @"/Users/Desktop/bb.ppt";
[powerWeb loadData:[NSData dataWithContentsOfFile:filePath]
MIMEType:@"application/vnd.ms-powerpoint"
textEncodingName:@"utf-8"
baseURL:[NSURL fileURLWithPath:filePath]];
its giving error description like...
error:::Operation could not be completed. (NSURLErrorDomain error 100.)
error:::Frame load interrupted.
Please let me know whats the problem ASAP (Formatter: this is not a support site)
Thanks in advance