for (NSString *fontFamily in [UIFont familyNames]) {
NSLog(@"字体家族是:%@",fontFamily);
for(NSString *fontName in [UIFont fontNamesForFamilyName:fontFamily])
{
NSLog(@"\t%@",fontName);
}
}
时间: 2024-10-10 10:30:01
for (NSString *fontFamily in [UIFont familyNames]) {
NSLog(@"字体家族是:%@",fontFamily);
for(NSString *fontName in [UIFont fontNamesForFamilyName:fontFamily])
{
NSLog(@"\t%@",fontName);
}
}