选择使用系统自带的字体
for(NSString *familyName in [UIFont familyNames]){
NSLog(@"Font FamilyName = %@",familyName); //*输出字体族科名字
for(NSString *fontName in [UIFont fontNamesForFamilyName:familyName]){
NSLog(@"\t%@",fontName); //*输出字体族科下字样名字
}
}
使用:
[UIFont fontWithName:@"Baskerville-Bold" size:18];