I trying to implement Dropbox Chooser framework in my ios/swift projcet. Everything looks good. But I can't receive link when choose file from Dropbox. Only I see dialog with text "generating link" for a second in Dropbox app. Where is my problem? And sorry for my bad english.
Here is my button in my UIViewController:
func dropboxBtn(sender: AnyObject) { // println("dropboxBtn") let dbChooser = DBChooser(appKey: "drop-in-app-key") dbChooser.openChooserForLinkType(DBChooserLinkTypePreview, fromViewController: self, completion: { (results: [AnyObject]!) -> Void in println(results.description) }) } And here is my application function in AppDelegate.swift
func application(application: UIApplication, openURL url: NSURL, sourceApplication: String?, annotation: AnyObject?) -> Bool { println("openURL") let dbChooser = DBChooser(appKey: "drop-in-app-key") if (dbChooser.handleOpenURL(url)) { return true } return false } I don't receive anything in the console...