简体   繁体   中英

How to set custom font size in iphone

Hi I am using a custom fonts in my application. First of all I include the font in .plist the then I have tried to use font in these two way

  1. [lblTitle setFont:[UIFont fontWithName:@"FtraBk__1" size:9]];

  2. UIFont *CustomFont = [UIFont fontWithName:@"FtraBk__1" size:9];

    [lblTitle setFont:CustomFont];

But in the both cases font size in not working. I am using these custom fonts in uitableviewcustomcell . So how can I adjust custom font Height.

This is very interactive thinking to use custom Font in IPhone APP

This link have lot of idea bout Custom Font.

Can I embed a custom font in an iPhone application?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM