title: Listing All Folder content from Google Drive
body: <p>Hi I have integrated google Dive with my app using Dr. Edit sample code from google drive. But i am not able to view all the files, which are stored in my Google Drive account.</p>
  
  <p>// I have tried this </p>
  
  <pre><code>-(void)getFileListFromSpecifiedParentFolder 
  {
  GTLQueryDrive *query2 = [GTLQueryDrive queryForChildrenListWithFolderId:@"root"];
  query2.maxResults = 1000;
  
  
  [self.driveService executeQuery:query2
                completionHandler:^(GTLServiceTicket *ticket,
                                    GTLDriveChildList *children, NSError *error) 
  {
   NSLog(@"\nGoogle Drive: file count in the folder: %d",   children.items.count);
  
  if (!children.items.count) 
  {
      return ;
  }
  
  if (error == nil) 
  {
  for (GTLDriveChildReference *child in children) 
  {
  
  GTLQuery *query = [GTLQueryDrive queryForFilesGetWithFileId:child.identifier];
  [self.driveService executeQuery:query                          completionHandler:^(GTLServiceTicket *ticket,
                               GTLDriveFile *file,
                               NSError *error) 
  {
  NSLog(@"\nfile name = %@", file.originalFilename);}];
                        }
                    }
                }];
   }
  </code></pre>
  
  <p>//I want to Display All content in NSLog... </p>