mardi 4 août 2015

Where is iCloud Drive for Sandbox?

I create a folder on iCloud Drive using this:

NSFileManager *fManager = [NSFileManager defaultManager];

NSURL *ubiq = [fManager URLForUbiquityContainerIdentifier:nil];
NSURL *iCloudDocumentsURLTemp = [ubiq URLByAppendingPathComponent:@"Documents"];

NSError *error = nil;

if (![fManager fileExistsAtPath:iCloudDocumentsURLTemp.path]) {
  [fManager createDirectoryAtURL:iCloudDocumentsURLTemp
     withIntermediateDirectories:YES
                      attributes:nil
                           error:&error];      
}

The first time I run this, it creates the folder. The second time it says the folder already exists.

I don't see the folder on icloud.com or in beta.cloud.com.

How do I see the folders/files I am creating there?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire