iOS输出字体信息 发表于 2015-01-15 更新于 2024-01-26 分类于 iOS 1234567for(NSString *familyName in [UIFont familyNames]){ NSLog(@"Font FamilyName = %@",familyName); //*输出字体族科名字 for(NSString *fontName in [UIFont fontNamesForFamilyName:familyName]){ NSLog(@"\t%@",fontName); //*输出字体族科下字样名字 }}