Step 1: Include your fonts in your XCode project
Step 2: Make sure that they’re included in the target
Step 3: Double check that your fonts are included as Resources in your bundle
Step 4: Include your iOS custom fonts in your application plist
Step 5: Find the name of the font
for (NSString* family in [UIFont familyNames])
{
NSLog(@"%@", family);
for (NSString* name in [UIFont fontNamesForFamilyName: family])
{
NSLog(@" %@", name);
}
}
Step 6: Use UIFont and specify the name of the font
label.font = [UIFont fontWithName:@"Helvetica CY" size:20];
Post a Comment