Home  >  Q&A  >  body text

七牛云存储 - 七牛Objective-C SDK初步使用

期末临近,IOS课程要做一个简单的东西出来,于是就想起做一个类似于云盘的app。

我看了七牛的官方文档,上面对于Objective-C SDK的简介太简单了,就讲了一个上传文件的功能。

问题:

使用七牛Objective-C SDK时,如何列出空间中所有的文件,下载文件,及图片预览的功能?

PHP中文网PHP中文网2736 days ago405

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-04-24 09:14:54

    1. Operations such as listing files, deleting files, moving files, copying files, etc. all require the issuance of management credentials. These operations are actually more suitable for operations and requests on the server side. The accessKey and secretKey used for signatures still need to be placed on the server side. ;

    2. To download a file, you only need to access the resource directly through the domain name in key,拼接上空间设置->域名设置 of the uploaded file;

    3. The image preview function can actually be combined with the spliced ​​URLs in 2 and Qiniu's synchronous image processing interface imageView2 interface or imageMogr2 interface to zoom and crop the image.

    reply
    0
  • Cancelreply