Conforms to NSObject
Declared in FBSDKSharing.h

Overview

A delegate for FBSDKSharing.

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

Tasks

Instance Methods

sharer:didCompleteWithResults:

Sent to the delegate when the share completes without error or cancellation. - Parameter sharer: The FBSDKSharing that completed. - Parameter results: The results from the sharer. This may be nil or empty.

- (void)sharer:(id<FBSDKSharing>)sharer didCompleteWithResults:(NSDictionary *)results

Declared In

FBSDKSharing.h

sharer:didFailWithError:

Sent to the delegate when the sharer encounters an error. - Parameter sharer: The FBSDKSharing that completed. - Parameter error: The error.

- (void)sharer:(id<FBSDKSharing>)sharer didFailWithError:(NSError *)error

Declared In

FBSDKSharing.h

sharerDidCancel:

Sent to the delegate when the sharer is cancelled. - Parameter sharer: The FBSDKSharing that completed.

- (void)sharerDidCancel:(id<FBSDKSharing>)sharer

Declared In

FBSDKSharing.h