FBSDKSharing
Đã có phiên bản mới hơn của lớp này. Hãy kiểm tra phiên bản mới nhất.

The common interface for components that initiate sharing.

Extends Protocol:NSObject
Declared in:FBSDKSharing.h
Thuộc tính
delegate

The receiver's delegate or nil if it doesn't have a delegate.

@property (nonatomic, weak) id<FBSDKSharingDelegate> delegate;
Đã tuyên bố trong: FBSDKSharing.h
shareContent

The content to be shared.

@property (nonatomic, copy) id<FBSDKSharingContent> shareContent;
Đã tuyên bố trong: FBSDKSharing.h
shouldFailOnDataError

A Boolean value that indicates whether the receiver should fail if it finds an error with the share content.

@property (nonatomic, assign) BOOL shouldFailOnDataError;
Discussion:

If NO, the sharer will still be displayed without the data that was mis-configured. For example, an invalid placeID specified on the shareContent would produce a data error.

Đã tuyên bố trong: FBSDKSharing.h
Phương thức thực thể
validateWithError:

Validates the content on the receiver.

Thông sốMô tả
errorRef

If an error occurs, upon return contains an NSError object that describes the problem.

- (BOOL) validateWithError:(NSError **)errorRef;
Đã tuyên bố trong: FBSDKSharing.h