I am using Dropbox in my own app. Once I login, the tableview is displayed and every time I load that view, I go straight to the table view. But, my concern is, suppose different people are using this application, they might want to login with their own accounts so I want to have an option to logout. How do I do that?
[[DBSession sharedSession] unlinkAll];
Works for me.