gpt4 book ai didi

iphone - 如何更改 iphone 3.0 上 UITableViewCellStyleSubtitle 单元格的字体大小

转载 作者:行者123 更新时间:2023-12-03 19:35:43 26 4
gpt4 key购买 nike

我知道您之前更改了单元格的字体大小,如下所示:

cell.font = [UIFont boldSystemFontOfSize:18];

我使用的单元格是使用 UITableViewCellStyleSubtitle 样式初始化的。如何更改此类单元格的文本标签和详细信息文本标签的字体大小?

最佳答案

cell.textLabel.font = [UIFont boldSystemFontOfSize:18];

3.0 更改了 UITableViewCell API。我建议在文档中阅读它,因为有一些已弃用的方法

关于iphone - 如何更改 iphone 3.0 上 UITableViewCellStyleSubtitle 单元格的字体大小,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1434039/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com