Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
3 of 3
deleted 23 characters in body
Rohit
  • 577
  • 1
  • 3
  • 14

1 Add your custom font into your project , i.e. Dragged the font file(CALIBRIZ_0.TTF) into XCode project.

2 Edit Info.plist: Add a new entry with the key "Fonts provided by application".

3 For each of your files, add the file name to this arrayenter image description here

4.Opened the font in font book(double click on your font in finder) to see what the real filename is and I see this:

enter image description here

Now set font to your label

yourLabel.font = [UIFont fontWithName:@"Calibri" size:15]; 
Rohit
  • 577
  • 1
  • 3
  • 14