我想从图库中选择一个图像,然后使用 react-native 将该图像复制到当前正在运行的应用程序的安装目录中。
You can use React Native Image Picker to pick an image from Camera Roll or Gallery.
See it's usage code here
To write any file into native file storage, you can use RNFS
See a basic example here
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.