Custom font is not working in my App?

后端 未结 8 834
小蘑菇
小蘑菇 2020-12-06 22:23

In my iPhone app,

I have included two custom fonts and by referring this steps by stackoverflow questions....

How to include and use new fonts in iPhone SDK?

相关标签:
8条回答
  • 2020-12-06 23:08

    You need to check the font name it may be different then the font file name...try this link

    Go to your application build phases and add your font files in copy bundle resources

    0 讨论(0)
  • 2020-12-06 23:15

    First find that font in your available fonts list:

    NSLog(@"fonts: %@", [UIFont familyNames]);
    

    Then find and input the appropriate name.

    0 讨论(0)
提交回复
热议问题