ios会报这样的错,找不到相应的字体。
1、进入 node_modules/@ant-design/icons-react-native/fonts 目录, 复制 antfill.ttf 和 antoutline.ttf 到 Xcode Project -> Resources folder.
2、打开Xcode,将两个文件添加到依赖中
3、将两个文件 添加到 info.plist ->Fonts provided by application 配置中。
然后就可以了
ios会报这样的错,找不到相应的字体。
1、进入 node_modules/@ant-design/icons-react-native/fonts 目录, 复制 antfill.ttf 和 antoutline.ttf 到 Xcode Project -> Resources folder.
2、打开Xcode,将两个文件添加到依赖中
3、将两个文件 添加到 info.plist ->Fonts provided by application 配置中。
然后就可以了