Skip to content

Instantly share code, notes, and snippets.

@amarjitdhillon
Created August 28, 2017 00:19
Show Gist options
  • Save amarjitdhillon/2bc4a37d936d49b57cfaa1978e1356bc to your computer and use it in GitHub Desktop.
Save amarjitdhillon/2bc4a37d936d49b57cfaa1978e1356bc to your computer and use it in GitHub Desktop.
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
FBSDKApplicationDelegate.sharedInstance().application(application, didFinishLaunchingWithOptions: launchOptions)
// Override point for customization after application launch.
return true
}
@amarjitdhillon
Copy link
Author

To post-process the results from actions that require you to switch to the native Facebook app or Safari, such as Facebook Login or Facebook Dialogs, you need to connect your AppDelegate class to the FBSDKApplicationDelegate object

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment