I had made the twitter application using the OAuth and MGTwitterEngine Library. The login phase is working fine but I am facing problem in logout. I had referred all the pos
Might be kinds of stupid, but this seems to work
- (IBAction)logout:(id)sender { [_engine dealloc]; NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; [defaults removeObjectForKey:@"authData"]; [defaults synchronize]; [self presentLoginView]; }