I am writing a rich text editor using UIWebView. To do this, I used a template file for a starter.
Then when user finishes editing but has not published yet, I would like to save the current content into a back-up html file in case app corrupts.
How do I do that?
Thanks @Rahui Vyas and @Josh Caswell .. After a little research of my own. I have found the easiest way to save the locally loaded html file or any html loaded on UIWebview.
long words short, here is the code:
Hope the laters may find this useful!
Here you go... buddy
Complete Tutorial Below
Working With File I/O in objective-c