开发者

font used for UITableView

What font does UITableView开发者_开发问答 use internally? I mean font familty and size ? Actually I want for the label/value type which I'll try to reproduce in IB ?


You can use the standard UIFont size and family to respect the system-wide settings:

[UIFont systemFontOfSize:[UIFont labelFontSize]]


Family name Helvetica

Font name Helvetica-Bold


If you want to set the tableviews font you should do it while binding in tableviewcell . and if you want to know default font family it is helvetica . and default size is probably 12 ,

like this

cell.textLabel.font = [UIFont fontWithName:@"Helvetica" size:18.0];

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜