Tuesday, December 5, 2017

Add custom font in Xcode project

Here I am going to discuss about, how to add the custom font in your Xcode project. Also will discuss about, what mistake will developer do while adding custom fonts.

Step 1:

First download the custom fonts and add it in your project folder.


Step 2:

Then you have to include those fonts in info.plist



Mistakes:

When you drag and drop the custom fonts inside the project folder, check whether you have enabled the checkbox target for that file.


Suppose if you forgot to select the target, get ready for app crash.
Also, if you called the font name which mismatch the TypeScript family name then also your app will crash. :P

No comments:

Post a Comment