Search code examples
xcodeinterface-builderxcode7custom-font

Xcode 7.2 Interface Builder fails to display different custom font styles


I have added 3 custom font (.ttf) files to my iOS app: GT Walsheim Pro Regular, Bold and Medium.

I can load the fonts programmatically just fine, and if I enumerate the names, I get 3 distinct names:

GTWalsheimProRegular
GTWalsheimProBold
GTWalsheimProMedium

However, when I try to select the font style in interface builder, I get 3 instances of "Regular" for this font family, and no matter which one I choose, I get the regular font:

Interface builder fail

How can I select the Bold or Medium font in Interface Builder ? What can I do to troubleshoot ?


Solution

  • Install fonts on the machine and they will be listed in Xcode as expected.