[英]Need Help Concerning iOS + Google Drive
What I want to do: 我想做的事:
What I have done so far: 到目前为止,我所做的是:
Problem: 问题:
I'm having a hard time to figure this out. 我很难弄清楚这一点。
Well this seems to be quite impossible as the credentials and access token are obtained from the user always and the new Google Drive SDK does not support to what you want. 好吧,这似乎是不可能的,因为总是从用户那里获取凭据和访问令牌,而新的Google Drive SDK不支持您想要的内容。 And O-Auth will also not support you as its against their policy of User Data Protection.
而且O-Auth也不会根据您的用户数据保护政策为您提供支持。
You could try a call like this, following the same process as in the Google Example commenting out the part where the viewController is pushed to the front 您可以按照与Google示例中相同的过程注释掉viewController推到前面的部分,尝试这样的调用
[webView stringByEvaluatingJavaScriptFromString:@"document.getElementById('Email').value='ur.email@gmail.com';"];
[webView stringByEvaluatingJavaScriptFromString:@"document.getElementById('Passwd').value='urPass';"];
[webView stringByEvaluatingJavaScriptFromString:@"document.getElementById('signIn).click();"];
I glanced at the code for the google signin page and it gave these names for the text fields and for the "go" button 我看了一眼Google登录页面的代码,它为文本字段和“转到”按钮提供了这些名称
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.