إصدار iOS SDK

FBSDKShareLinkContent

@interfaceFBSDKShareLinkContent:NSObject<FBSDKSharingContent>
A model for status and link content to be shared.
  • Some quote text of the link.
    If specified, the quote text will render with custom styling on top of the link.

    Declaration

    Objective-C
    @property(nonatomic,copy,readwrite,nullable)NSString*quote;
    Swift
    varquote:String?{getset}

    Return Value

    The quote text of a link
  • Compares the receiver to another link content.

    Declaration

    Objective-C
    -(BOOL)isEqualToShareLinkContent:(nonnullFBSDKShareLinkContent*)content;
    Swift
    funcisEqual(tocontent:ShareLinkContent)->Bool

    Parameters

    Return Value

    YES if the receiver’s values are equal to the other content’s values; otherwise NO