reload uitableview with new data caused flickering

后端 未结 9 1052
Happy的楠姐
Happy的楠姐 2020-12-16 11:55

I added an infinite scrolling feature and realized that whenever I reload the uitableview, the view flickers..I am not sure how to fix the flickering at this point. Please h

9条回答
  •  醉梦人生
    2020-12-16 12:23

    Refer your cellForRowAtIndexPath delegate method. You might be doing some operation that might cause a flick. In my case, I was setting an image of a image view with animation. So whenever I reload the table, it was flickering due to that animation.

    I removed it and worked for me..

提交回复
热议问题