FBSDKSharingDelegate Protocol Reference
Conforms to | NSObject |
Declared in | FBSDKSharing.h |
Overview
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
-
– sharer:didCompleteWithResults:
required method -
– sharer:didFailWithError:
required method -
– sharerDidCancel:
required method
Instance Methods
sharer:didCompleteWithResults:
Sent to the delegate when the share completes without error or cancellation.
- (void)sharer:(id<FBSDKSharing>)sharer didCompleteWithResults:(NSDictionary *)results
Parameters
- sharer
The FBSDKSharing that completed.
- results
The results from the sharer. This may be nil or empty.
Declared In
FBSDKSharing.h