How do I use a UIWebView in a Table Cell?

后端 未结 7 556
终归单人心
终归单人心 2020-12-09 04:49

I\'m building a table with some text that is HTML, so I am using a UIWebView as a subview of my custom table cells. I already ran into one problem - as I scrolled down in th

7条回答
  •  我在风中等你
    2020-12-09 05:16

    Have you looked into overriding the -prepareForReuse method on your table cell subclass? If the cells don't seem to update when you scroll, it's possible that the content of reusable cells isn't being cleared and reset.

提交回复
热议问题