1

I've just tried running my application on my iOS device(iphone 4 running IOS 6)

On the iPhone simulator it worked perfectly with Custom fonts?

But on device it goes to default font?

I use a custom class for my font here:

- (void) awakeFromNib {
    [super awakeFromNib];
     self.font = [UIFont fontWithName@"TOONISH" size:self.font.pointSize];
}

The class inharets UILabel

Mads Odgaard
  • 33
  • 2
  • 7

1 Answers1

0

You may have more work to do to get a font working on the device.

Check this link: Use custom fonts in iPhone App

You can also try the font on a lable, instead of the class, to verify the issue.

UIFont *toonishFont= [UIFont fontWithName:@"TOONISH-Bold" size:12.0f];
[uiLabel setFont:toonishFont];
Community
  • 1
  • 1
nycynik
  • 7,371
  • 8
  • 62
  • 87