UILabel 设置字体黑体方法

来源:互联网 发布:tensorflow 双显卡 编辑:程序博客网 时间:2024/05/09 04:09


0.1 做为系统标题上面的黑色字体


  titleLabel.font = [UIFontboldSystemFontOfSize:16];


0.2  字体名字需在网上上面查找


  UILabel *label = [[UILabel alloc] init];

  label.font = [UIFont fontWithName:@"GurmukhiMN-Bold" size:12];

0 0