if let file = AVUser.current()?.object(forKey: "profileIm") as? AVFile{
file.getDataInBackground({ (data:Data?, error:Error?) in
if error==nil{
self.profileImage.image = UIImage(data: data!)
}else{
print(error!)
}
}, progressBlock: { (progress:Int) in
//progress is a value from 0~100
})
}
报错:
Error Domain=AVOS Cloud Error Domain Code=149 "file checksum incorrect" UserInfo={error=file checksum incorrect, NSLocalizedDescription=file checksum incorrect, code=149}
-
创建时间
17年2月2日
-
最后回复
17年7月15日
-
2
回复
-
1.0K
浏览
-
2
用户