swift 里怎么上传图片,服务器端的图片怎么获取及显示?
你好,在 9.x以后的 SDK 版本中,文件接口有一些调整。如果使用 9.x 以及之后的 SDK 版本,
文件上传使用:
-[uploadWithProgress:completionHandler:]
文件下载使用:
-[downloadWithProgress:completionHandler:]
import LeanCloud后,本地无getObjectInBackgroundWithId方法,要怎么处理?
在 9.x 之前的 SDK 版本中,文件上传和下载使用 saveInBackgroundWithBlock
和 getDataInBackgroundWithBlock
,AVFile 没有 getObjectInBackgroundWithId
方法。