繁体   English   中英

如何在 React Native 中显示来自 Firebase 存储的清晰图像?

[英]How to display clear image from Firebase Storage in React Native?

当前代码

<View style={styles.img}>
  <Image source={{ uri: url_of_firebase_storage }} style={styles.photo} />
</View>

const styles = StyleSheet.create({
  img: {
    alignItems: 'center',
  },
  photo: {
    height: '100%',
    width: '100%',
  }
});

使用此代码,它会显示照片。

但是这张照片不是很清楚。

如果您能告诉我如何在 React Native 中显示清晰的照片,我将不胜感激。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM