脸书应用邀请:
FBSDKAppInviteContent *content = [[FBSDKAppInviteContent alloc] init];
NSString *appLink = [@"https://fb" stringByAppendingString:@".me/176327329406660"];
content.appLinkURL = [NSURL URLWithString:appLink];
[FBSDKAppInviteDialog showFromViewController:self withContent:content delegate:self];
模拟器运行良好,但 iPhone 设备不是。
错误的应用程序邀请错误:
域=com.facebook.sdk.core 代码=9 "(null)"