NSArray *familyNames = [UIFont familyNames];
for( NSString *familyName in familyNames ){
NSLog(@"Family: %@",familyName);
NSArray *fontNames = [UIFont fontNamesForFamilyName:familyName];
for( NSString *fontName in fontNames ){
NSLog(@"Font: %@",fontName);
}
}
时间: 2024-10-12 13:04:19