Integration new facebook SDK by swift

前端 未结 11 1499
情书的邮戳
情书的邮戳 2020-12-23 09:59

Today i tried to integrate facebook SDK to my Swift app but in the quick start on facebook guide page looks a bit different than my old code. How can i convert OBJ-C code be

11条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-23 10:32

    In swift 3.0.1

    return GIDSignIn.sharedInstance().handle(url, sourceApplication:    
    options[UIApplicationOpenURLOptionsKey.sourceApplication] as! String, annotation:     
    options[UIApplicationOpenURLOptionsKey.annotation])
    

提交回复
热议问题