FHSTwitterEngine *engine = [FHSTwitterEngine sharedEngine];
[engine clearAccessToken];
我試過上面的代碼,但是當我嘗試再次登錄時,textfields沒有在presentModalViewController
中顯示,它顯示了Authorize app按鈕。如何獲得完全註銷從FHSTwitterEngine在Twitter上REST API v1.1的?
還有另一種方法,[engine clearConsumer];
導致Select and Copy the PIN
在presentModalViewController
它的工作!下面的代碼內用於 如果([[每valueForKey:@ 「域」] isEqualToString:@ 「twitter.com。」]){ [cookieStorage deleteCookie:每個]; } 謝謝哥們.. –
不錯,很高興它的工作適合你。 :) –
感謝它爲我工作.. –