第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

“StorageMetadata”類型的值沒有成員“downloadURL”

“StorageMetadata”類型的值沒有成員“downloadURL”

BIG陽 2019-09-06 16:21:18
我剛剛將Firebase Storage更新到5.0.0,它看起來metadata.downloadURL()已經(jīng)不再被識別了。(Value of type 'StorageMetadata' has no member 'downloadURL')雖然在查看文檔后仍應該可用:https://firebase.google.com/docs/reference/swift/firebasestorage/api/reference/Classes/StorageMetadata#/c:objc(cs)FIRStorageMetadata(im)downloadURL該項目已經(jīng)清理和重建。我錯過了什么嗎?
查看完整描述

3 回答

?
慕妹3146593

TA貢獻1820條經(jīng)驗 獲得超9個贊

你能試一下嗎


// Create a reference to the file you want to download

let starsRef = storageRef.child("images/stars.jpg")


// Fetch the download URL

starsRef.downloadURL { url, error in

  if let error = error {

    // Handle any errors

  } else {

    // Get the download URL for 'images/stars.jpg'

  }

}


查看完整回答
反對 回復 2019-09-06
  • 3 回答
  • 0 關注
  • 612 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網(wǎng)微信公眾號