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?
You should drop the tokens you got from the Oauth process , and start the login process over.
https://www.dropbox.com/developers/docs#authentication-for-mobile-devices
Update April '14 : This answer is a bit outdated, as APIs tend to change over time. Other suggestions were made here as well.