D
D
doublench212017-08-31 17:07:31
iOS
doublench21, 2017-08-31 17:07:31

UIWebView inside UITableViewCell, is it worth it?

I want to make a forum reader on iOS. There was a question about displaying posts inside table cells. How to properly display this kind of content(html) inside cells. And how will it beat performance? 20 posts per page.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Tikhonov, 2017-08-31
@tikhonov666

The solution is terrible, firstly, UIWebView is a rather heavy thing in terms of UI, this is a blow to performance, and secondly, since your cells will be reused, then when you scroll, you will need to cancel / resume requests to the web resource, this is writing additional logic that complicates the code. Either you have one webview to view the forum, or you are trying to somehow parse the forum and pull out data from there (not a very good solution).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question