我可以在UITableView中自定义节标题吗?(font,image ...)我想实现这样的目标:

那可能吗?我已经得到了我想要的单元格,但没有截面标题.谢谢.
jon*_*oll 10
您可以通过实现该方法为tableView的节头创建自定义视图 tableView:viewForHeaderInSection:
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section {
// create and return a custom UIView to use for the section here
}
Run Code Online (Sandbox Code Playgroud)