Search code examples
iosobjective-clogoutfbsdk

Logout from Facebook ios sdk objective c


i am implementing Facebook login in my ios app. Once i logout and try to login again it don't ask me the User email and password, instead it directly show a permission screen. How to make it ask the user email and password again. I have tried to logout by using login manager logout method and even setting current access token to nil, but it don't work. Thanks in advance for your answer.


Solution

  • You have to logout from your mobile brower or Simulator browser for it. Open Browser, Open Facebook.com and logout from your account.

    If you are not logged into from your browser then It will ask for email and password.

    This will solve your issue.