2013-02-04 61 views

回答

1

,你可以檢查sourceApplication。

另外在applicationDidBecomeActive:記得打電話[FBSession.activeSession handleDidBecomeActive];

1
-(BOOL) application:(UIApplication *)application handleOpenURL:(NSURL *)url{} 

也必須設置URL方案在你在你的appdelegate

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

的.plist

相關問題