わかりました、私はそれを持っていると思います。現在、アドホックビルドで機能しています。承認されるとどうなるか見ていきます。新しいバージョンのAPIでは、次のように開いているアプリのURLを処理する必要があるようです。
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation {
if ([[DBSession sharedSession] handleOpenURL:url]) {
if ([[DBSession sharedSession] isLinked]) {
// At this point you can start making API Calls. Login was successful
[self doSomething];
} else {
// Login was canceled/failed.
}
return YES;
}
// Add whatever other url handling code your app requires here
return NO;
}
テストではすべてがデバイスで機能したが、アドホックビルドやアプリストアビルドでは機能しなかった理由はまだわかりませんが、openURLコールバックを処理するとこれが修正されるようです。