I want to use HelveticaNeue-UltraLight in my ios application. I\'m adding the font file as a resource to my project and adding the \"Fonts provided by application\" key in t
Try this this will be also heleful for you.
[compete_Label setFont:[UIFont fontWithName:@"Helvetica-Bold" size:12]];
I ended up buying the font Helvetica Neue UltraLight from a third party, added it with no problems.
While this probably won't help the OP, it might be useful to others.
With iOS 5, Helvetica Neue
is automatically included; you don't have to add this custom font to the bundle. It's even possible to use that font family directly from Interface Builder, which is extremely handy.
In addition to:
You also have to make sure that under Targets -> Build Phases -> Copy Bundle Resources has the actual filenames of the custom fonts.
To check if they have appeared, you can do something like:
UIFont.familyNames.forEach { (name) in
print(name)
}
after adding Font file in Bundle "Font Provided by Application" property click on drop down arrow and enter your font name with extension