Issues with custom font in iOS

前端 未结 1 575
Happy的楠姐
Happy的楠姐 2021-01-07 14:28

I followed the steps outlined in various locations using the UIAppFonts property list key. I\'m using the Aller Light font. I\'ve added it as a resource, added

相关标签:
1条回答
  • 2021-01-07 15:11

    List all fonts

    for (NSString *name in [UIFont familyNames]) {
        NSLog(@"Family name : %@", name);
        for (NSString *font in [UIFont fontNamesForFamilyName:name]) {
            NSLog(@"Font name : %@", font);             
        }
    }
    
    0 讨论(0)
提交回复
热议问题