iOS SDK Version

Protocols

The following protocols are available globally.
  • A delegate for FBSDKGameRequestDialog.
    The delegate is notified with the results of the game request 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 a game request and cancellation.
    See more

    Declaration

    Objective-C
    @protocolFBSDKGameRequestDialogDelegate<NSObject>
  • A protocol for media content (photo or video) to be shared.

    Declaration

    Objective-C
    @protocolFBSDKShareMedia<NSObject>
    Swift
    protocolShareMedia:NSObjectProtocol
  • The common interface for components that initiate sharing.
    See
    FBSDKShareDialog
    See
    FBSDKMessageDialog
    See more

    Declaration

    Objective-C
    @protocolFBSDKSharing<NSObject>
    Swift
    protocolSharing:NSObjectProtocol
  • The common interface for dialogs that initiate sharing.
    See more

    Declaration

    Objective-C
    @protocolFBSDKSharingDialog<FBSDKSharing>
    Swift
    protocolSharingDialog:Sharing
  • 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.
    See more

    Declaration

    Objective-C
    @protocolFBSDKSharingDelegate
    Swift
    protocolSharingDelegate
  • The common interface for sharing buttons.
    See
    FBSDKSendButton
    See
    FBSDKShareButton
    See more

    Declaration

    Objective-C
    @protocolFBSDKSharingButton<NSObject>
    Swift
    protocolSharingButton:NSObjectProtocol
  • A base interface for content to be shared.
    See more

    Declaration

    Objective-C
    @protocolFBSDKSharingContent<NSCopying,NSObject,FBSDKSharingValidation,NSSecureCoding>
    Swift
    protocolSharingContent:NSCopying,NSSecureCoding,NSObjectProtocol,SharingValidation
  • Deprecated
    SharingScheme is deprecated and will be removed in the next major release
    A base interface for indicating a custom URL scheme
    See more

    Declaration

    Objective-C
    @protocolFBSDKSharingScheme
    Swift
    protocolSharingScheme
  • A base interface for validation of content and media.
    See more

    Declaration

    Objective-C
    @protocolFBSDKSharingValidation
    Swift
    protocolSharingValidation