changing the color of titleFor Header in section

后端 未结 4 1471
别那么骄傲
别那么骄傲 2021-02-10 18:14
-(NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section 

{

}

Hi
I am very new in objective c..................

4条回答
  •  灰色年华
    2021-02-10 18:56

    Use tableView:viewForHeaderInSection: instead. That way you can configure a UILabel or whatever to your like (complete with font, transparency, color, etc), and the tableview will use that view as the header as opposed to the default view.

提交回复
热议问题