Thursday, 9 June 2016

How to Add Custom Font in iOS - Objective C

1) Download Custom Fonts
2) Drag & Drop your Custom Font in to Supporting Files

3) Select Main Project --> Go to Build Phases -->Select Copy Bundle Resources

4) Select +Button Add Font File
5) Select Info.plist file, Add Key -->"Fonts Provided by Application" with your FontName.Extension

6) Now Call below Code
UIFont *fontcustom=[UIFont fontwithname:@"CustomFontname",size:18]

No comments:

Post a Comment