I have successfully implemented Login with Facebook
using the approach specified in this tutorial. Now the issue I am having here is, "Logout" button after successful authentication.
As per my requirement, whenever user navigates to this screen they should always see "Login with Facebook" instead of "Logout
" and click again "Login with Facebook
". Is there any configuration I can use to perform this? Any input would be appreciated.
Add this line in viewWillAppear() in your code
[FBSession.activeSession closeAndClearTokenInformation];