我已将iOS更新为9.3.4,尝试使用Facebook SDK
登录时出现崩溃问题。
FBSDKLoginManager *login = [[FBSDKLoginManager alloc] init];
[login logInWithReadPermissions: @[@"public_profile", @"email", @"user_friends", @"user_birthday"] fromViewController:self handler:^(FBSDKLoginManagerLoginResult *result, NSError *error) {
if (error)
{
NSLog(@"Process error");
}
else if (result.isCancelled)
{
NSLog(@"Cancelled");
}
else
{
NSLog(@"Logged in"); [self getFacebookData];
}
}];
日志:[FBSDKContainerViewController my_shouldAutorotate]:无法识别的选择器发送到实例0x13c6e45a0