사용할 수 없습니다 다운로드 API를 관리, 다시 시작하고 여기에 설명되어 API 취소중포 기지 내가 일시 중지를 사용하여 중포 기지 스토리지에서 다운로드를 관리하기 위해 노력하고
https://firebase.google.com/docs/storage/ios/download-files#manage_downloads
내 다운로드 완벽하게 작업을하지만 난 액세스 할 수 없습니다 이 기능들 중 어느 것에 대해서도, 누구도 이것들에 접근하는 방법을 알고 있습니까?
var storageRef: FIRStorageReference? = nil
var pathReference: FIRStorageReference? = nil
func downloadImage(imageLocation: String) {
let saveLocation = NSURL(fileURLWithPath: String(HelperFunctions.getDocumentsDirectory()) + "/" + imageLocation)
storageRef = FIRStorage.storage().reference()
pathReference = storageRef!.child(imageLocation)
pathReference!.writeToFile(saveLocation) { (URL, error) -> Void in
}
완벽한 'pathReference' 초기화를 붙여 넣을 수 있습니까? –
감사합니다. 업데이트 된 질문 –