Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Dan T.8
10 years agoNew member | Level 1
Can't import Dropbox API into Swift
I followed the instructions at https://www.dropbox.com/developers/sync/sdks/ios to setup the SDK and https://blogs.dropbox.com/developers/2014/09/swift-apps-with-dropbox/ to import it into Swift with...
Jay H.14
10 years agoNew member | Level 1
Hmmm. Not sure if it will help or not, but here's my AppDelegate code...
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
// Override point for customization after application launch.
/***** code added to support DropBox integration *****/
var accountManager = DBAccountManager(appKey: <myKey>, secret: <mySecret>)
DBAccountManager.setSharedManager(accountManager)
network.startNotifier()
return true
}
/***** code added to support DropBox integration *****/
func application(application: UIApplication, openURL url: NSURL, sourceApplication: String?, annotation: AnyObject?) -> Bool {
var account = DBAccountManager.sharedManager().handleOpenURL(url)
if account != nil {
return true
}
return false
}
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!