IOS Facebook Log Out completely exits safari stores data

The iOS Facebook SDK when I use

[FBSession.activeSession closeAndClearTokenInformation]; 

it only closes the token. Then, when I open Safari, I can go to the Facebook account in Safari.

How can I eliminate this behavior?

In my application, many users use the same iPhone. Therefore, they must authenticate as usual. When the user selects "close the session" in the application and opens www.facebook.com, he appears in the log with the user credentials.

When the user clicks "end of session", the application must also exit Facebook.

+4
source share

Source: https://habr.com/ru/post/1495001/


All Articles