Reputation: 49
So I have just finished making a game (with help from @Fluidity) and when I build it the fonts requested are all ignored. I have selected fonts to be used in main.storyboard but when it gets to the game the default is used. Any help is appreciated.
Upvotes: 1
Views: 54
Reputation: 49
I fixed the problem by Checking the box in Target Membership relevant to the necessary application.
Target membership is located on the right after clicking your custom font under your application files.
Upvotes: 1
Reputation: 553
You'll need to add the file in your project and specify this font in your Info.plist
For example, add the following in your Info.plist
<key>UIAppFonts</key>
<array>
<string>Fluidity.otf</string>
</array>
I'm assuming the filename is Fluidity.otf
Upvotes: 1