iOS SDK Version

FBSDKSharePhotoContent

@interfaceFBSDKSharePhotoContent:NSObject<FBSDKSharingContent>
A model for photo content to be shared.
  • Photos to be shared.

    Declaration

    Objective-C
    @property(nonatomic,copy,readwrite)NSArray<FBSDKSharePhoto*>*_Nonnullphotos;
    Swift
    varphotos:[FBSDKSharePhoto]{getset}

    Return Value

    Array of the photos (FBSDKSharePhoto)
  • Compares the receiver to another photo content.

    Declaration

    Objective-C
    -(BOOL)isEqualToSharePhotoContent:(nonnullFBSDKSharePhotoContent*)content;
    Swift
    funcisEqual(tocontent:SharePhotoContent)->Bool

    Parameters

    Return Value

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