FBSDKShareDialog
@interfaceFBSDKShareDialog:NSObject<FBSDKSharingDialog>
A dialog for sharing content on Facebook.
@interfaceFBSDKShareDialog:NSObject<FBSDKSharingDialog>
init
is deprecated and will be removed in the next major release. Please use one of the other available initializers-(instancetype)initNS_UNAVAILABLEDEPRECATED_MSG_ATTRIBUTE("`init` is deprecated and will be removed in the next major release. Please use one of the other available initializers");
new
is deprecated and will be removed in the next major release. Please use one of the other available initializers+(instancetype)newNS_UNAVAILABLEDEPRECATED_MSG_ATTRIBUTE("`new` is deprecated and will be removed in the next major release. Please use one of the other available initializers");
FBSDKShareDialog
with a view controller, content and delegate.-(nonnullinstancetype)initWithViewController:(nullableUIViewController*)viewControllercontent:(nullableid<FBSDKSharingContent>)contentdelegate:(nullableid<FBSDKSharingDelegate>)delegate;
init(viewController:UIViewController?,content:SharingContent?,delegate:SharingDelegate?)
FBSDKShareDialog
with a view controller, content and delegate.+(nonnullinstancetype)dialogWithViewController:(nullableUIViewController*)viewControllerwithContent:(nullableid<FBSDKSharingContent>)contentdelegate:(nullableid<FBSDKSharingDelegate>)delegate;
FBSDKShareDialog
with a view controller, content and delegate.+(nonnullinstancetype)showFromViewController:(nullableUIViewController*)viewControllerwithContent:(nullableid<FBSDKSharingContent>)contentdelegate:(nullableid<FBSDKSharingDelegate>)delegate;
@property(nonatomic,weak,readwrite)UIViewController*_NullablefromViewController;
weakvarfromViewController:UIViewController?{getset}
FBSDKShareDialogModeAutomatic
, which will automatically choose the best available mode.@property(nonatomic,assign,unsafe_unretained,readwrite)FBSDKShareDialogModemode;
varmode:ShareDialog.Mode{getset}