开发者

UIWebView load content On demand

I have huge amount of data which load on UIWebView. So there has some issues

1. It's take lot of time on loading

2. On iPhone-OS3 it shows little chunk but In 开发者_JS百科iPhone-OS4 it doesn't

3. On orientation it takes much time.

So any suggestion? how can I load content On Demand Need?


You may need to use NSURLConnection connectionWithRequest: instead of [webView loadRequest:]. Then implement connection:didReceiveData: to accumulate the data received and connectionDidFinishLoading: inform the user there is no more data to be loaded.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜