是否可以下载谷歌派生文件而不与ios集成 [英] Is that possible to download google derive files without integration with ios

查看:249
本文介绍了是否可以下载谷歌派生文件而不与ios集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以从谷歌驱动器下载文件而不集成它的sdk(类文件)或身份验证。请考虑以下场景:


  1. 我在mysample应用程序中使用UIWebView。

  2. 我已登录Google通过UIWebView驱动(就像登录浏览器一样登录谷歌驱动器)。

  3. 现在我想将google驱动器文档下载到mysample应用程序文档文件夹中。

问题:


  1. 当我尝试从谷歌驱动器下载文件时它现在将被下载(我正在使用nsurl连接或ASIHttpRequest下载文件)。

  2. 我将GoogleSDK(类库)集成到另一个示例应用程序中,它将正常工作,文件将使用文件下载。 downloadURL。

现在,我的简单问题是我们是否可以通过登录的UIWebView从谷歌驱动器下载文件?有没有办法?

解决方案

我们不支持与iOS网页视图集成,建议您使用SDK。 / p>

Is that possible to download files from google drive without integrate it's sdk (class files) or authentication. Consider following scenario:

  1. I Used UIWebView in mysample application.
  2. I am logged in to Google Drive through UIWebView (Like logged in to google drive same as browser logged in).
  3. Now i want to download google drive documents in to mysample application document folder.

Problem:

  1. When i am trying to download file from google drive it will now downloaded (I am using nsurl connection or ASIHttpRequest for download file).
  2. I Integrate GoogleSDK (Class Library) in another sample application it will work fine and files are downloaded using file.downloadURL.

Now, My simple question is can we download files from google drive by UIWebView logged in or not? Is there any way?

解决方案

We don't support integrating with the iOS web view, and suggest you use the SDK.

这篇关于是否可以下载谷歌派生文件而不与ios集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆