Attributed string with custom fonts in storyboard does not load correctly

后端 未结 16 1845
梦谈多话
梦谈多话 2021-01-30 03:35

We are using custom fonts in our project. It works well in Xcode 5. In Xcode 6, it works in plain text, attributed string in code. But those attributed strings set in storyboard

16条回答
  •  孤城傲影
    2021-01-30 04:14

    Met the same problem: the attribute font for UILabel in storyboard didn't work in run time. Using this UIFont+IBCustomFonts.m works for me https://github.com/deni2s/IBCustomFonts

提交回复
热议问题