FBSDKSharingDelegate
เวอร์ชั่นที่ใหม่กว่าของคลาสนี้พร้อมแล้ว ตรวจสอบได้ เวอร์ชั่นล่าสุด

A delegate for FBSDKSharing.

Discussion:

The delegate is notified with the results of the sharer as long as the application has permissions to receive the information. For example, if the person is not signed into the containing app, the sharer may not be able to distinguish between completion of a share and cancellation.

Extends Protocol:NSObject
Declared in:FBSDKSharing.h
วิธีการทันใจ
sharer:didCompleteWithResults:

Sent to the delegate when the share completes without error or cancellation.

พารามิเตอร์คำอธิบาย
sharer

The FBSDKSharing that completed.

results

The results from the sharer. This may be nil or empty.

- (void)
sharer: (id<FBSDKSharing>)sharer
didCompleteWithResults: (NSDictionary *)results;
ให้คำรับรองไว้ใน: FBSDKSharing.h
sharer:didFailWithError:

Sent to the delegate when the sharer encounters an error.

พารามิเตอร์คำอธิบาย
sharer

The FBSDKSharing that completed.

error

The error.

- (void)
sharer: (id<FBSDKSharing>)sharer
didFailWithError: (NSError *)error;
ให้คำรับรองไว้ใน: FBSDKSharing.h
sharerDidCancel:

Sent to the delegate when the sharer is cancelled.

พารามิเตอร์คำอธิบาย
sharer

The FBSDKSharing that completed.

- (void) sharerDidCancel:(id<FBSDKSharing>)sharer;
ให้คำรับรองไว้ใน: FBSDKSharing.h