0
我正在開發一個提供Facebook登錄功能的應用程序。當我嘗試撥打FBSDKRequestConnection
時,我遇到標題中列出的錯誤。使用解析和Facebook SDK的未知接收器FBSDKRequestConnection
我的import語句如下:
#import <FBSDKCoreKit/FBSDKCoreKit.h>
#import <FBSDKLoginKit/FBSDKLoginKit.h>
我打電話以下代碼:
- (void)logInViewController:(PFLogInViewController * __nonnull)logInController didLogInUser:(PFUser * __nonnull)user {
[FBSDKRequestConnection startForMeWithCompletionHandler:^(FBSDKRequestConnection *connection, id result, NSError *error) {
if (!error) {
[self facebookRequestDidLoad:result];
}
else {
[self showErrorAndLogout];
}
}];
}
有沒有人遇到這個問題?