FBSDKAppInviteDialogDelegate
这个类有新版本。查看 最新版本。

A delegate for FBSDKAppInviteDialog.

Discussion:

The delegate is notified with the results of the app invite as long as the application has permissions to receive the information. For example, if the person is not signed into the containing app, the shower may not be able to distinguish between completion of an app invite and cancellation.

Extends Protocol:NSObject
Declared in:FBSDKAppInviteDialog.h
实例方法
appInviteDialog:didCompleteWithResults:

Sent to the delegate when the app invite completes without error.

参数描述
appInviteDialog

The FBSDKAppInviteDialog that completed.

results

The results from the dialog. This may be nil or empty.

- (void)
appInviteDialog: (FBSDKAppInviteDialog *)appInviteDialog
didCompleteWithResults: (NSDictionary *)results;
声明语言: FBSDKAppInviteDialog.h
appInviteDialog:didFailWithError:

Sent to the delegate when the app invite encounters an error.

参数描述
appInviteDialog

The FBSDKAppInviteDialog that completed.

error

The error.

- (void)
appInviteDialog: (FBSDKAppInviteDialog *)appInviteDialog
didFailWithError: (NSError *)error;
声明语言: FBSDKAppInviteDialog.h