Search code examples
iosuitableviewcustom-cell

Why my UITableView separators are missing when using custom cell?


I'm creating a custom cell and when I use it, my tableview separator just disappear. I was looking for an answer but I believe I already did something wrong, against the default behavior.

Here comes my screen

loading

While it's loads, I can see the separators between the cells.

Right after the content comes

enter image description here

The separators between the custom cells disappears but if I scroll down, it shows the separators to the empty cells. I already tried to change the height of my custom cell, without success.


Solution

    • Check your cells height ,maybe it bigger than the height you set on the delegate method or on the storyboard!
    • Make them same you could see the separators