Question

I just opened a project that I hadn't used since updating to Xcode 5.1. It was all working fine previously. Now, whenever I attempt to link to Dropbox, it never passes this line

    if([[DBSession sharedSession] handleOpenURL:url])

in AppDelegate handleOpenUrl:. So when the Dropbox sign up sheet appears, I can enter my username and password, then the sheet is dismissed, but nothing happens and it is not linked.

Any ideas? Any help would be greatly appreciated!

Was it helpful?

Solution

I just needed to update to using

    - (BOOL)application:(UIApplication *)app openURL:(NSURL *)url  sourceApplication:(NSString *)source annotation:(id)annotation {

I was still using the deprecated version

    - (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url

Now it is working fine. =D

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top