How to unlink or log out of dropbox account on iOS

Namratha picture Namratha · May 9, 2011 · Viewed 17.1k times · Source

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?

Answer

Paul Slocum picture Paul Slocum · Jun 24, 2013
    [[DBSession sharedSession] unlinkAll];

Works for me.