From f9fcfea80f10b97f4d303d3888c75d036068249f Mon Sep 17 00:00:00 2001 From: hank <hank.zhang@proficientcity.com> Date: Wed, 20 Sep 2017 10:36:44 +0800 Subject: [PATCH] [Update] WAFbImpl (3.6.5.1) --- frameworks/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h | 62 ++++++++++++++++++++----------- 1 files changed, 40 insertions(+), 22 deletions(-) diff --git a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h index 857acd0..4550826 100644 --- a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h +++ b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h @@ -18,56 +18,74 @@ #import <UIKit/UIKit.h> -/*! - @class FBSDKApplicationDelegate +/** - @abstract - The FBSDKApplicationDelegate is designed to post process the results from Facebook Login + The FBSDKApplicationDelegate is designed to post process the results from Facebook Login or Facebook Dialogs (or any action that requires switching over to the native Facebook app or Safari). - @discussion + + The methods in this class are designed to mirror those in UIApplicationDelegate, and you should call them in the respective methods in your AppDelegate implementation. */ @interface FBSDKApplicationDelegate : NSObject -/*! - @abstract Gets the singleton instance. +/** + Gets the singleton instance. */ + (instancetype)sharedInstance; -/*! - @abstract - Call this method from the [UIApplicationDelegate application:openURL:sourceApplication:annotation:] method +/** + Call this method from the [UIApplicationDelegate application:openURL:sourceApplication:annotation:] method of the AppDelegate for your app. It should be invoked for the proper processing of responses during interaction with the native Facebook app or Safari as part of SSO authorization flow or Facebook dialogs. - @param application The application as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:]. + - Parameter application: The application as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:]. - @param url The URL as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:]. + - Parameter url: The URL as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:]. - @param sourceApplication The sourceApplication as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:]. + - Parameter sourceApplication: The sourceApplication as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:]. - @param annotation The annotation as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:]. + - Parameter annotation: The annotation as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:]. - @return YES if the url was intended for the Facebook SDK, NO if not. - */ + - Returns: YES if the url was intended for the Facebook SDK, NO if not. + */ - (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation; -/*! - @abstract - Call this method from the [UIApplicationDelegate application:didFinishLaunchingWithOptions:] method +#if __IPHONE_OS_VERSION_MAX_ALLOWED > __IPHONE_9_0 +/** + Call this method from the [UIApplicationDelegate application:openURL:options:] method + of the AppDelegate for your app. It should be invoked for the proper processing of responses during interaction + with the native Facebook app or Safari as part of SSO authorization flow or Facebook dialogs. + + - Parameter application: The application as passed to [UIApplicationDelegate application:openURL:options:]. + + - Parameter url: The URL as passed to [UIApplicationDelegate application:openURL:options:]. + + - Parameter options: The options dictionary as passed to [UIApplicationDelegate application:openURL:options:]. + + - Returns: YES if the url was intended for the Facebook SDK, NO if not. + */ +- (BOOL)application:(UIApplication *)application + openURL:(NSURL *)url + options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options; +#endif + +/** + Call this method from the [UIApplicationDelegate application:didFinishLaunchingWithOptions:] method of the AppDelegate for your app. It should be invoked for the proper use of the Facebook SDK. + As part of SDK initialization basic auto logging of app events will occur, this can be +controlled via 'FacebookAutoLogAppEventsEnabled' key in the project info plist file. - @param application The application as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. + - Parameter application: The application as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. - @param launchOptions The launchOptions as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. + - Parameter launchOptions: The launchOptions as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. - @return YES if the url was intended for the Facebook SDK, NO if not. + - Returns: YES if the url was intended for the Facebook SDK, NO if not. */ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions; -- Gitblit v1.8.0