0

Iam setting custom font to UILabel dynamically through programatically but in Attributes Inspector the custom Font name is not showing .

Thanks in advance!

Alex
  • 403
  • 8
  • 13
  • http://stackoverflow.com/questions/4462852/iphone-development-how-to-use-custom-fonts –  Jun 10 '13 at 06:59
  • Goto this url... http://stackoverflow.com/questions/13029660/use-custom-fonts-in-iphone-app – Vijay Jun 10 '13 at 07:14

2 Answers2

1

You need to add your custom font with .tiff file also set in .plist Fonts provide by application : set your file name by adding an item.

Ishu
  • 12,797
  • 5
  • 35
  • 51
0

You need to do some additional work to set the custom font.Use this:

using-custom-fonts-in-ios-application

NANNAV
  • 4,875
  • 4
  • 32
  • 50
manujmv
  • 6,450
  • 1
  • 22
  • 35
  • Thanks for ur answer.Same thing iam doing, i can set font through code but not showing the name to select directly – Alex Jun 10 '13 at 07:05
  • it won't show in the interface builder's properties. you need to set the font of a label with the font name like, [self.labelOutlet setFont:[UIFont fontWithName:@"Sathu" size:10]]; – manujmv Jun 10 '13 at 07:11
  • one important thing is including font name. you must carefully read that section – manujmv Jun 10 '13 at 07:13