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

FBSDKMessengerURLHandler is used to handle incoming URLs from Messenger.

Inherits from:NSObject
Declared in:FBSDKMessengerURLHandler.h
วิธีการทันใจ
canOpenURL:sourceApplication:

Determines whether an incoming URL can be handled by this class

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

The URL passed in from the source application

sourceApplication

The bundle id representing the source application

- (BOOL)
canOpenURL: (NSURL *)url
sourceApplication: (NSString *)sourceApplication;
ให้คำรับรองไว้ใน: FBSDKMessengerURLHandler.h
openURL:sourceApplication:

Attempts to handle the Messenger URL and returns YES if and only if successful. This should be called from the AppDelegate's -openURL: method

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

The URL passed in from the source application

sourceApplication

The bundle id representing the source application

- (BOOL)
openURL: (NSURL *)url
sourceApplication: (NSString *)sourceApplication;
ให้คำรับรองไว้ใน: FBSDKMessengerURLHandler.h