add acknowledgements header

This commit is contained in:
Bob Sun 2017-02-09 19:43:24 +08:00
parent cbca865c0b
commit e204ac1f9c
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4

View file

@ -38,5 +38,14 @@ class AboutTableViewController: BasicStaticTableViewController {
} }
return nil return nil
} }
override func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
if section == 1 {
let view = UITableViewHeaderFooterView()
view.textLabel?.text = "Acknowledgements"
return view
}
return nil
}
} }