I try to add separator line like this.
But separator line disappearing when there is no data.
Can anyone please help me solve this issue?Thanks.
CodePudding user response:
towa x! This can be fixed by adding options to Separator. In MainStoryBoard go to the Attributes Inspector/Separator. Change it to Default - separator are shown in any condition: empty or filled.
CodePudding user response:
In you viewDidLoad function add this
yourTableViewReference.fillerRowHeight = UITableViewCellSeparatorStyleSingleLine