I'm working on a project. I've implemented expandable cell , I have some information on the cell and when I click it it expands showing a description.
Im loading the description in a UIWebView as I'm taking it in html format from JSON.
What I'm having trouble is that the scroll in UITableView is lagging, and Im 99% sure it is the UIWebView causing the problem as I have other tableviews as well with non-expandable cells , and they're scrolling all smooth.
I think I might solve the problem by not letting the table at the beginning load the html content , only loading it on the Didselect method for each cell I select.
But I'm having a hard time accomplishing this.Is there anyway I can load the UIWebView only for 1 specific cell (in this case only the cell I click).
Any help is appreciated. 
If u think there's another way to solve this problem feel free to give suggestions.
Thanks in advance
PS: I've looked at the expandable cell tutorial for swift in youtube and made more or less the same.
 
     
    