Im developing an iPhone App that downloads an .html file from an ftp server. Is it possible to edit the html file before rendering it in an UIWebView? The html file contains data that is not relevant so I would like to delete part of the content. If so, how would I achieve this?
1 に答える
0
いくつかの手順で:
- を使用して、自分で FTP 要求を実行します
NSURLConnection
。 - HTML を文字列に取得し、それを変更します。
- 呼び出し
-loadHTMLString:baseURL:
て、変更されたドキュメントを に渡しUIWebView
ます。
于 2013-01-07T15:34:10.420 に答える