mardi 30 juin 2015

how can logout from facebook in ios sdk

I have integrated Facebook login in my app and therfore user can login with both my app account and also Facebook and do corresponding actions.

  -(IBAction)FacebooklogoutBtnClick:(id)sender
  {
      FBSDKLoginManager *loginManager = [[FBSDKLoginManager alloc] init];   
      [loginManager logOut];
  }

Aucun commentaire:

Enregistrer un commentaire