-1
私のコードでは、このプロパティが必要です。 この情報を取得する別の方法がありますか? GoogleドライブAPIからrootFolderIdは新しいSDKでは利用できません
GTLServiceTicket *aboutGetTicket = [[GTLServiceDrive sharedServiceDrive] executeQuery:aboutGetQuery
completionHandler:^(GTLServiceTicket *ticket, GTLDriveAbout *about, NSError *aboutError)
{
if(about.rootFolderId!=nil)
{
NSArray *filesForPath = [GTLServiceDrive filesForPathComponents:pathComponents
currentPathComponentID:about.rootFolderId
error:error];
if(*error==nil)
{
[files addObjectsFromArray:filesForPath];
}
}
}
executing = NO;
}];
あなたの正確な問題は何ですか?何を試しましたか? –
パスの下にディレクトリとサブディレクトリが存在するかどうかをチェックします。いくつかのヒントを教えていただけますか?どうも。 –