let storageRef = Storage.storage().reference ( forURL: path )
storageRef.getData(maxSize: 28060876) {(data,error) in
self.cellSpinner.stopAnimating()
self.cellSpinner.isHidden = true
if let err = error {
print(err)
}else {
if let image = data {
let myImage : UIImage! = UIImage(data:image)
self.dataImageView.image = myImage
}
}
}
I am displaying an image and some text from Firebase and displaying it in a tableView
now i get this message
FirebaseStorage/Storage.swift:170: Fatal error: Internal error: URL scheme must be one of gs://, http://, or https://
New contributor
kenan arab is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.