Attributed string with custom fonts in storyboard does not load correctly

后端 未结 16 1843
梦谈多话
梦谈多话 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:30

    Try this it will work

    In my case when i try to set "Silversky Technology" as Attributed text for label from interface builder its not show when i run in simulator but its show in interface builder. So i used one trick i made Silversky font with 1 pixel bigger then Technology text.

    Attribute text have issue with same size of font so change size of 1 word this thing work with me.

    May be this is xcode bug but this trick work for me.

提交回复
热议问题