Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

UITableView Header Custom Font

How to set the UITableView Header Font as a custom font and size??


my used code is..

override func tableView(tableView: UITableView, willDisplayHeaderView view: UIView, forSection section: Int) {

let header:UITableViewHeaderFooterView = view as! UITableViewHeaderFooterView


header.textLabel.textColor = UIColor.redColor()

header.textLabel.font = UIFont.boldSystemFontOfSize(12)

header.textLabel.frame = header.frame

header.textLabel.textAlignment = NSTextAlignment.Center

}

Posted on Jul 5, 2015 9:35 AM

Reply
1 reply

UITableView Header Custom Font

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.