Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Black Background When Scroll Up Table View

In my project I used a navigation controller embedding a table view controller. But when I scroll up the table view a black background shows up (as shown in the .gif below)

how can I fix this? Thanks.

enter image description here

like image 742
hklel Avatar asked Nov 09 '22 06:11

hklel


1 Answers

I just found the solution myself. In case someone else has the same problem, here's what to do:

  • Select your table view

  • Go to Attribute Inspector

  • Find the Scroll View section and change the Style property to white

enter image description here

like image 141
hklel Avatar answered Nov 14 '22 21:11

hklel