Dropbox integration with iOS

Is the Dropbox API for iOS available for renaming a folder / files in Dropbox. Does it also support the function to delete a folder / files from iOS?

Thanks in advance

+3
source share
2 answers

Yes. Check out the Dropbox for iOS documentation here .

Quick example:

DBRestClient *dbClient = [[DBRestClient alloc] initWithSession:[DBSession sharedSession]];
[dbClient moveFrom:fromPath toPath:toPath];  // Rename
[dbClient deletePath:path];                  // Delete
+10
source

You cannot rename a file or folder (prior to version 1.2.2). To do this, you can follow these steps.

rename the file, create a new file with a new name and delete the old file.

rename the folder, create a new folder, move the contents to this folder from the old folder, and delete the old folder. (make sure all files are moved before deletion).

thank.

+2
source

All Articles