FBSDKShareDialog
이 클래스의 최신 버전을 사용할 수 있습니다. 확인해보세요 최신 버전.

A dialog for sharing content on Facebook.

Conforms to:FBSDKSharingDialog
Inherits from:NSObject
Declared in:FBSDKShareDialog.h
속성
fromViewController

A UIViewController to present the dialog from.

@property (nonatomic, weak) UIViewController *fromViewController;
Discussion:

If not specified, the top most view controller will be automatically determined as best as possible.

정의된 값: FBSDKShareDialog.h
mode

The mode with which to display the dialog.

@property (nonatomic, assign) FBSDKShareDialogMode mode;
Discussion:

Defaults to FBSDKShareDialogModeAutomatic, which will automatically choose the best available mode.

정의된 값: FBSDKShareDialog.h
클래스 메서드
showFromViewController:withContent:delegate:

Convenience method to show an FBSDKShareDialog with a fromViewController, content and a delegate.

매개변수설명
viewController

A UIViewController to present the dialog from, if appropriate.

content

The content to be shared.

delegate

The receiver's delegate.

+ (instancetype)
showFromViewController: (UIViewController *)viewController
withContent: (id<FBSDKSharingContent>)content
delegate: (id<FBSDKSharingDelegate>)delegate;
정의된 값: FBSDKShareDialog.h