The [Twitter sharedInstance] object has two ways to log out: logOut and logOutGuest.
Here is the link to the docs: link to the iOS link of the Twitter
Just FYI you can check if the user is registered using the session parameter as shown below
[[Twitter sharedInstance] session]
If the session is nil, then they are not logged in.
Try below, if nothing works above, maybe cookies still exist.
NSHTTPCookieStorage *cookieStorage = [NSHTTPCookieStorage sharedHTTPCookieStorage]; for (NSHTTPCookie *each in cookieStorage.cookies) {
Nilesh patel
source share