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

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.

Superclass:NSObject
Declared in:FBSDKApplicationDelegate.h
클래스 메서드
sharedInstance

Gets the singleton instance.

+ (instancetype) sharedInstance;
인스턴스 메서드
application:didFinishLaunchingWithOptions:

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.

매개변수설명
application

The application as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:].

launchOptions

The launchOptions as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:].

- (BOOL)
application: (UIApplication *)application
didFinishLaunchingWithOptions: (NSDictionary *)launchOptions;
application:openURL:sourceApplication:annotation:

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.

매개변수설명
application

The application as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:].

url

The URL as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:].

sourceApplication

The sourceApplication as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:].

annotation

The annotation as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:].

- (BOOL)
application: (UIApplication *)application
openURL: (NSURL *)url
sourceApplication: (NSString *)sourceApplication
annotation: (id)annotation;