[Solved] Facebook Objective C to Swift 4 [closed]


Seems like you are looking for this

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        // Override point for customization after application launch.
        FBSDKApplicationDelegate.sharedInstance().application(application, didFinishLaunchingWithOptions: launchOptions)           
        return true
    }

And

func application(_ application: UIApplication, open url: URL, options: [UIApplicationOpenURLOptionsKey : Any])  -> Bool {
      return FBSDKApplicationDelegate.sharedInstance().application(application, open: url, sourceApplication: options[UIApplicationOpenURLOptionsKey.sourceApplication] as! String!, annotation: options[UIApplicationOpenURLOptionsKey.annotation])
}

solved Facebook Objective C to Swift 4 [closed]