FHSTwitterEngine *engine = [FHSTwitterEngine sharedEngine];
[engine clearAccessToken];
I tried above code but when I try to login again, textfields doesn't apear in presentModalViewController
, it shows Authorize app button.
There is another method, [engine clearConsumer];
which results Select and Copy the PIN
in presentModalViewController
I believe cookies still exists, that's the major issue with most of the twitter APIs on iOS.
This is how you can check for all cookies, put a check in between to clear only twitter cookies where you are performing a logout operation on twitter:
Hope it helps.
Regards,
Reno Jones
Add below method in
FHSTwitterEngine.h
andm
file.EDIT : Use these method like these :