views:

303

answers:

1

I want use Calibri font for to display a text in a label. Can any one help how to use Calibri font.

Thanks in advance.

A: 

Try This

[label setFont:[UIFont fontWithName:@"Calibri" size:14]];

EDIT:

This Link will give you an idea of about using calibri font in iphone.

All The Best.

Warrior
Thanks for giving.I use the above syntax but getting exception that isAssertion failure in -[UILabel setFont:], /SourceCache/UIKit/UIKit-963.10/UILabel.m:4452010-04-03 10:07:07.817 Zoho[270:20b] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: font != nil'Can you help me how to solve this.Thanks in advance.
Rani