iTofu/LCBannerView

Adding in UITableViewCell

MVakas opened this issue · 4 comments

I’m adding LCBannerView in a UITableViewCell, it seems that it is adding this again and again as i’m seeing overlapped images after scrolling.

Any suggestions how can I fix this?

iTofu commented

Sorry this is my fault... And I can't fix it now...

But I have some Advice, you could change some properties in .m file, like imageName, imageURLs... You could move those from .m file to .h file, and than, you should reset bannerView.imageName, bannerView.imageURLs... in UITableView's delegate method tableView:cellForRowAtIndexPath:, for example:

cell.bannerView.imageName = self.dataSourceArray[indexPath.row][@"imageName"];
cell.bannerView.imageURLs = self.dataSourceArray[indexPath.row][@"imageURLs"];

If I'm free, I will fix it like this way :)

Thanks. 👍
I’ll give it a try.

iTofu commented

Hey, I had fix this bug a moment ago, you could run pod update to get the Latest release.

For more information you could see the README's Release Logs.

Thanks much appreciated.