想问一下,对于 React native,是否有办法让 Android 和 iOS 在一个地方共享图像资源,而不是将它们重复放置在每个文件夹中?
最佳答案
从最新版本 0.14.0(一小时前)开始,现在有一个可用于 Android 和 iOS 的通用 Assets 系统。这要感谢 @frantic's PR ...
The documentation好像还没更新,不过这个不错documented in the PR itself .
关于android - 在 React Native 中将图像放在 android 和 ios 的公共(public)位置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33517706/