Reputation: 5
I have lots of html files and i want to save that html files into an Temporary Directory or an Documents Directory which one is suitable. I want to save all the html files in the directory Please tell me how to do that. Thanks.
Upvotes: 0
Views: 525
Reputation: 1376
copy all html files in your project root folder . then these files can be accessed from nsbundle main bundle.
NSURL *rtfUrl = [[NSBundle mainBundle] URLForResource:@"index" withExtension:@".html"];
if you want to download all html files to document folder. then you want to access them you can take help from this question
Upvotes: 2