// for (NSString * family in [UIFont familyNames]) {
// NSLog(@”familyNames:%@”, family);
// for (NSString * name in [UIFont fontNamesForFamilyName:family]) {
// NSLog(@” name: %@”,name);
// }
// }
// UILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(100, 200, 100, 100)];
// label.font = [UIFont fontWithName:@”iconfont” size:35];
// label.text = @”\U0000E627”;
// label.textColor = [UIColor greenColor];
// [self.view addSubview:label];
+(UIImage )imageWithIcon:(NSString )iconCode inFont:(NSString )fontName size:(NSUInteger)size color:(UIColor )color{
CGSize imageSize = CGSizeMake(size, size);
UIGraphicsBeginImageContextWithOptions(imageSize, NO, [[UIScreen mainScreen] scale] );
UILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, size, size)];
label.font = [UIFont fontWithName:fontName si