i find my answer
GTLQueryDrive *query;
if ([self isRoot])
{
query = [GTLQueryDrive queryForChildrenListWithFolderId:@"root"];
query.q = @"'root' in parents and trashed=false";
}
else
{
query = [GTLQueryDrive queryForChildrenListWithFolderId:self.metadata.identifier];
query.q = @"trashed=false";
}
Google drive is not allowing me to access all document and files in iOS
-
13-06-2023 - |
Pregunta
I am making an iphone app and there i need to integrate Google drive api. When i have integrated that into the app then it is only showing the files which i have created from "APP" but i just need all docuemnts and files from google drive to my system. Please let me know. Thanks
Solución
Otros consejos
You need to use this scope kGTLAuthScopeDrive instead of kGTLAuthScopeDriveFile as in Google's sample.
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow