简体   繁体   中英

Dropbox is no longer linking - sign up sheet keeps appearing

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!

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM