Unrecognized font family on iOS simulator with React Native

后端 未结 14 1427
北海茫月
北海茫月 2020-12-14 05:55

I\'ve added Linux Biolinum fonts (http://www.dafont.com/linux-biolinum.font, LinBiolinum_R.ttf, LinBiolinum_RB.ttf) to my React Native project. Android version is OK. But on

14条回答
  •  囚心锁ツ
    2020-12-14 06:28

    I had the same problem. I checked if I've added the fonts correctly to the xcode project. Then I checked the info.plist.

    Turned out I spelled the name wrong. Instead of FontAwesome5_Solid.ttf, I had written FontAwesoem5_Solid.ttf. So I fixed it. That solved the problem for me.

    To sum up - be very careful when typing the names and when checking them.

提交回复
热议问题