How can I enable separator only in a specified section?
Well, if you are using custom cells, you can turn off separatorStyle
on the tableview and add an extra view of height 1 with a light gray background at the bottom of your custom cell's contentView, either add it in your Nib/Storyboard's Prototype Cell or programmatically add it in the cells initialization code.
This would be much cleaner than adding another table in front of the 1st table as suggested in the other answer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With