设置文字大小和字体的途径有两个:

 

第一种,直接使用xib设置

python 写入doc表格加粗 python如何加粗字体_python 文字加粗

  ,

python 写入doc表格加粗 python如何加粗字体_python 文字加粗_02

   , 

python 写入doc表格加粗 python如何加粗字体_python 文字加粗_03

第二种,使用代码

 


Label.font = [UIFont fontWithName:@"Helvetica-bold" size:15.f];//加粗


Label.font = [UIFont fontWithName:@"Helvetica-light" size:15.f];//加粗