NSMutableArray *fontNames = [[NSMutableArray alloc] init];
NSArray *fontFamilyNames = [UIFont familyNames];
for (NSString *familyName in fontFamilyNames) {
NSArray *names = [UIFont fontNamesForFamilyName:familyName];
[fontNames addObjectsFromArray:names];
}
NSLog(@"fontNames==%@",fontNames);
转载于:https://my.oschina.net/u/2010888/blog/416698