首页 > 解决方案 > 在我的 react-native 应用程序(iOS 和 Android)中的应用程序中添加自定义字体和图像的最佳做法是什么

问题描述

我需要知道在我的 react-native 应用程序(iOS 和 Android)中添加 fontFamily 和图像的最佳做法是什么

以前我曾经在 (iOS) 的 Resources 文件夹和 android drawable 文件夹 (images) 中添加 FontFamily 和 Images

标签: xcodeimagereact-nativefont-family

解决方案


对我来说,我添加了本博客中提到的自定义字体。它工作正常。

https://medium.com/@sharadkatre01/custom-font-installation-in-react-native-e8ac44b7a121


推荐阅读