Sitemap
React Native Training

Stories and tutorials for developers interested in React Native

Adding Custom Fonts to A React Native Application for IOS

3 min readSep 7, 2015

--

Looking to learn React Native? Checkout React Native Training.

This tutorial is outdated. Check here for a better way to do this.

Step 1: Include your fonts in your Xcode project

In the above image, you can see that “Zap Raygun V20 Regular.ttf” was added to the project. I did this by control clicking on the main project, and selecting “Add new file”.

Step 2: Make sure that they’re included in the target

Press enter or click to view image in full size

Click on the font that you just added in the left column, and see if the font is selected under “Target Membership” on the right column.

Step 3: Double check that your fonts are included as Resources in your bundle

Press enter or click to view image in full size

Click on your Xcode project file in the left hand column, then select “Build Phases”. Make sure that your font has been added under “Copy Bundle Resources” (this should have been done automatically).

--

--

React Native Training
React Native Training

Published in React Native Training

Stories and tutorials for developers interested in React Native

Nader Dabit
Nader Dabit

Written by Nader Dabit

Full Stack Product Engineer, Author, Teacher, Director of Developer Relations at Avara

Responses (14)