(iPhone)如何更改tableview中行的字体大小

Yon*_*zhi 6 iphone fonts tableview

嗨,我现在正在努力改变行的字体大小.检查员似乎没有这样的设置.而且我不知道要覆盖哪个委托方法.谢谢你的帮助:)

joc*_*ull 16

在你的cellForRowAtIndexPath方法中尝试这样的事情:

//Configure the cell...
cell.textLabel.font = [UIFont systemFontOfSize:14]; //Change this value to adjust size
cell.textLabel.numberOfLines = 2; //Change this value to show more or less lines.
cell.textLabel.text = @"This is my text";
Run Code Online (Sandbox Code Playgroud)