xcode custom ttf font not working

后端 未结 2 784
梦毁少年i
梦毁少年i 2020-12-25 11:21

ok so I\'ve been reading through SO and doing all sorts of googling but I cant figure out why my font isn\'t working.

I think I\'ve done everything right, but when

2条回答
  •  天命终不由人
    2020-12-25 11:58

    I would suspect that you haven't added the font file to your target, so that it's not copied to the app's resources. Your code works fine here and the font does show up as "Press Start K" in the list of font families.

提交回复
热议问题