iOS download and save HTML file

前端 未结 4 809
悲哀的现实
悲哀的现实 2020-12-05 05:12

I am trying to download a webpage (html) then display the local html that has been download in a UIWebView.

This is what I have tried -

NSString *st         


        
4条回答
  •  南方客
    南方客 (楼主)
    2020-12-05 06:18

    NSDocumentDirectory will be backed up to iCloud. You might be better off using NSCachesDirectory https://developer.apple.com/library/ios/#qa/qa1719/_index.html

提交回复
热议问题