Can I customize section header in a UITableView? (font, image...)

ios5, uitableview

Solution

You can create a custom view for your tableView's section header by implementing the method `tableView:viewForHeaderInSection:`

- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section {

    // create and return a custom UIView to use for the section here 

}

Problem

Can I customize section header in a UITableView? (font, image...) I'd like to achieve something like this: Is that possible? I already got my cells like I wanted, but not section header. Thanks.

Original source