FBSDKAppInviteDialogDelegate Protocol Reference
Conforms to | NSObject |
Declared in | FBSDKAppInviteDialog.h |
Overview
A delegate for FBSDKAppInviteDialog.
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.
Tasks
-
– appInviteDialog:didCompleteWithResults:
required method -
– appInviteDialog:didFailWithError:
required method
Instance Methods
appInviteDialog:didCompleteWithResults:
Sent to the delegate when the app invite completes without error. - Parameter appInviteDialog: The FBSDKAppInviteDialog that completed. - Parameter results: The results from the dialog. This may be nil or empty.
- (void)appInviteDialog:(FBSDKAppInviteDialog *)appInviteDialog didCompleteWithResults:(NSDictionary *)results
Declared In
FBSDKAppInviteDialog.h
appInviteDialog:didFailWithError:
Sent to the delegate when the app invite encounters an error. - Parameter appInviteDialog: The FBSDKAppInviteDialog that completed. - Parameter error: The error.
- (void)appInviteDialog:(FBSDKAppInviteDialog *)appInviteDialog didFailWithError:(NSError *)error
Declared In
FBSDKAppInviteDialog.h