Reputation: 299
Can any one explain the difference between these two section titles and that how can I achieve the default iOS section titles as in the setting image shown below. Thanks for the help. Im using the following function to set title and I expect this to be a default feature.
override func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? {
return "This is me title"
}
This is the title I get on my sections.
Upvotes: 0
Views: 815
Reputation: 9943
The same header as Settings can be achieved by using tableView's Grouped
style
Upvotes: 1