إصدار iOS SDK

FBSDKReferralManager

Deprecated
FBSDKReferralManager is deprecated and will be removed in the next major release
@interfaceFBSDKReferralManager:NSObject
FBSDKReferralManager provides methods for starting the referral process.
  • Initialize a new instance with the provided view controller

    Declaration

    Objective-C
    -(nonnullinstancetype)initWithViewController:(nullableUIViewController*)viewController;
    Swift
    init(viewController:UIViewController?)

    Parameters

  • Open the referral dialog.

    Declaration

    Objective-C
    -(void)startReferralWithCompletionHandler:(nullableFBSDKReferralManagerResultBlock)handler;
    Swift
    funcstartReferral(completionHandlerhandler:ReferralManagerResultBlock?=nil)

    Parameters