let storage = FIRStorage.storage()
let storageRef = storage.reference()
let imagesRef = storageRef.child("someimage.png")
let metaData = FIRStorageMetadata()
metaData.contentType = "image/png"
// Upload the file to the path "folderName/file.jpg"
let uploadTask : FIRStorageUploadTask = imagesRef.putData(imageData, metadata: metaData) { (metaData, error) in
}
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/16c091f7-6b09-4401-966a-98577b9f6dfd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.