如何像Instagram应用程序一样在世博会中定制imagepicker?
世博会内置的图像选择器使用下面的代码工作得很好,但是我如何定制它,使其看起来像Instagram应用程序图像上传,甚至包括视频上传如何像Instagram应用程序一样在世博会中定制imagepicker?,image,react-native,expo,Image,React Native,Expo,世博会内置的图像选择器使用下面的代码工作得很好,但是我如何定制它,使其看起来像Instagram应用程序图像上传,甚至包括视频上传 imagePicker = async () => { let result = await ImagePicker.launchImageLibraryAsync({ allowsEditing: true, aspect: [4, 3], });
imagePicker = async () => {
let result = await ImagePicker.launchImageLibraryAsync({
allowsEditing: true,
aspect: [4, 3],
});
console.log(result);
if (!result.cancelled) {
this.setState({ image: result.uri });
}
你找到了吗solution@KrutikaChotara,这不是一个真正的解决方案,但我停止使用Expo。如果你找到了这个问题的答案,请写在下面,这样我就可以把它标记为正确的答案。