开发者

font used for UITableView

开发者 https://www.devze.com 2023-02-11 06:14 出处:网络
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 si

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

精彩评论

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