iPhone SDK 3.2 and UIAppFonts
Posted
by tarmo
on Stack Overflow
See other posts from Stack Overflow
or by tarmo
Published on 2010-05-10T12:03:12Z
Indexed on
2010/05/10
12:24 UTC
Read the original article
Hit count: 866
I've added my custom font to UIAppFonts and it's loaded just fine: (shows up in [UIFont familyNames]
). When I manually set the font in viewDidLoad { [myLabel setFont: [UIFont fontWithName:@"CustomFont" size: 65.0]]; }
everything works and the font is rendered.
However doing the same thing in IB doesn't (some other default font is used instead). Having to create IBOutlets for each label and fixing up the fonts manually in viewDidLoad is pretty painful.
Anyone else had problems getting the custom font support to work with 3.2 SDK and IB?
© Stack Overflow or respective owner