You can create custom font in Xcode using following steps :
- Import font type into your project (*.ttf file)
- Add “Fonts provided by application” key into plist of your project.
- Add custom font as an item array in “Fonts provided by application” key.
- Now, you can use font in label as :
[lblName setFont:[UIFont fontWithName:@“CustomFontName” size:14.0]];
No comments:
Post a Comment