Facebook iOS SDK Login with UIWebView instead of safari (Native trick/solution) -


i trying utilize login process via facebook`s ios sdk, however, login process implemented via safari, instead of uiwebview. there native way fix behavior? or @ least simple/elegant solution?

let fbloginmanager = fbsdkloginmanager()             fbloginmanager.loginwithreadpermissions(["email"], handler: {                 (result: fbsdkloginmanagerloginresult!, error:nserror!) -> void in                 if ((error) != nil){                 }                 else if (result.iscancelled){                 } else {                     if(result.grantedpermissions.contains("email")){                         print(result)                     }                 }             }) 

you can find nice solutions here:

  1. solution 1

  2. solutions 2

  3. solutions 3


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -