将图像上传到Firebase并获取参考

时间:2019-06-08 23:38:23

标签: ios swift firebase firebase-storage

我一直在尝试为我尝试创建的Instagram类型的应用程序学习Firebase。我一直无法在线上浏览各种资源,需要帮助。目前,我已通过控制台/网站将图像上传到Firebase。我的问题是如何获取对图像的引用,以及如何在Xcode项目中实现该引用?我已经安装了Cocoapods和Alamofire;我还按照网站上的说明成功安装了Firebase,并将代码添加到ViewController中,如下所示:

df.loc[df.groupby([df.Country,df.Code.diff().ne(0).cumsum()]).Duration.idxmax()]
  Country  Code  Duration
3       A     1         3
5       A     2         1
8       A     1         2

1 个答案:

答案 0 :(得分:0)

如果要在Firebase控制台中上传图像,则它们在Cloud Storage for Firebase中,而不在数据库中。

要了解如何访问它们,请阅读Firebase documentation for storage,包括creating a reference to a filedownloading files上的部分。

相关问题