React native React native image picker:如何以网格方式直接访问画廊图像

React native React native image picker:如何以网格方式直接访问画廊图像,react-native,react-native-image-picker,React Native,React Native Image Picker,我正在使用react native image picker,我想直接从设备访问多媒体资料图像。但是,当我使用以下方法启动ImageLibrary时,我会看到另外两个选项,分别是“图片”、“下载” 相反,我希望看到所有的图书馆图片在网格的方式如下 我有一点想法,但你问的不多。 它只是直接启动相机和图像库而已。也许对你有帮助 // Launch Camera: ImagePicker.launchCamera(options, (response) => { // Same code

我正在使用react native image picker,我想直接从设备访问多媒体资料图像。但是,当我使用以下方法启动ImageLibrary时,我会看到另外两个选项,分别是“图片”、“下载”

相反,我希望看到所有的图书馆图片在网格的方式如下


我有一点想法,但你问的不多。 它只是直接启动相机和图像库而已。也许对你有帮助

// Launch Camera:
ImagePicker.launchCamera(options, (response) => {
  // Same code as in above section!
});

// Open Image Library:
ImagePicker.launchImageLibrary(options, (response) => {
  // Same code as in above section!
});

要了解更多信息,请单击

可能有点晚了,但为什么不实现自己的库视图呢?
// Launch Camera:
ImagePicker.launchCamera(options, (response) => {
  // Same code as in above section!
});

// Open Image Library:
ImagePicker.launchImageLibrary(options, (response) => {
  // Same code as in above section!
});