简体   繁体   English

如何为分组样式的UITableView设置节标题的外观?

[英]How can I set the appearance of section headings for a grouped style UITableView?

I've got a UITableView that is setup using the 'Grouped' style, however I want to change the font, colour and size of the headings. 我有一个使用“分组”样式设置的UITableView ,但是我想更改标题的字体,颜色和大小。 Where would I be able to do this? 我在哪里可以做到这一点?

You should implement UITableViewDelegate 's viewForHeaderInSection: method. 您应该实现UITableViewDelegateviewForHeaderInSection:方法。

See Apple's documentation . 请参阅Apple的文档

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM