iOS SDK Version

FBSDKSharingValidation

@protocolFBSDKSharingValidation
A base interface for validation of content and media.
  • Asks the receiver to validate that its content or media values are valid.

    Declaration

    Objective-C
    -(BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptionserror:(NSError*_Nullable*_Nullable)errorRef;
    Swift
    funcvalidate(optionsbridgeOptions:ShareBridgeOptions=[])throws

    Return Value

    YES if the receiver’s values are valid; otherwise NO