I am currently creating collectionView
cells inside of TableViewCell
but I want to separate each TableViewCell
with default separator but changing its color. Please help me with this. Or Can I remove all separator lines and use custom UIView
to separate them?
Simply update the separatorColor
property of tableView
with the required UIColor
instance.
tableView.separatorColor = .red
In case you want to update it via storyboard
, you can with the tableView's
attributes inspector like,