Warning: API v1 has been deprecated. Learn more.
Warning: The Sync API has been deprecated. Learn more.
Dropbox offers native SDKs for iOS, OS X and Android. This page includes instructions on how to download and set up SDKs for each platform, as well as links to SDKs provided by the community for other environments.
Before building an app using the Sync API, you'll need to create an app with the App folder or File type permission in the App Console (Full Dropbox permission is not supported with the Sync API). Visit the developer guide for more information on the different types of permissions.
Xcode with the iOS development kit is required to build an iOS app using the Sync API. The Sync API requires iOS 5.0 or later.
Once you've downloaded the Datastore API iOS SDK, you'll need to add all the necessary frameworks to your project.
The SDK coordinates with the Dropbox app (if it's installed) to simplify the auth process. But in order to smoothly hand the user back to your app, you need to add a unique URL scheme that Dropbox can call. You'll need to configure your project to add one:
If you want to see the Sync API in action, check out the Examples directory in the SDK bundle. There you can find a simple note-taking app that uses the Sync API to save notes to Dropbox and alerts you if the notes are updated. This app will also sync notes with the notes example included in the SDKs for other platforms.